- Joined
- Apr 8, 2021
- Messages
- 2
- Reaction score
- 1
- First Language
- English
- Primarily Uses
- RMMV
I'm making a horse breeding mini game and came across a bug I have no idea how to fix.
The player gets to choose one of two horses - a male or a female - and can put it into one of two stable stalls - stall 1 or stall 2. A number gets assigned to the variable Stable x Horse Type. So if the male horse gets put into stable one, then the Stable 1 Horse Type = 1. If the female horse gets put into stable one the variable would be Stable 1 Horse Type = 2. If the male gets put into Stable 2 then the variable would be Stable 2 Horse Type = 1 (and the female would be =2).
So that all works great.
My issue is that I have a page (page 4 on both events) where if the player tries to breed the horse with itself, a message pops up saying "You cannot breed a horse with itself. Please choose a different horse." And it works fine if the player selects the male horse first to start breeding, but doesn't work if the player selects the female horse first to start breeding.
I have two switches - Horse Breeding M Start and Horse Breeding F Start. I even tried putting the female horse in the first stall (she was originally in the second stall) and it still didn't work. So I have no idea what's going on.
So here are my event pages for the first stall:







And here are my event pages for Stall 2:







If anyone can help me figure out why my Horse Breeding F First switch isn't working, I would really appreciate it. Thank you!
The player gets to choose one of two horses - a male or a female - and can put it into one of two stable stalls - stall 1 or stall 2. A number gets assigned to the variable Stable x Horse Type. So if the male horse gets put into stable one, then the Stable 1 Horse Type = 1. If the female horse gets put into stable one the variable would be Stable 1 Horse Type = 2. If the male gets put into Stable 2 then the variable would be Stable 2 Horse Type = 1 (and the female would be =2).
So that all works great.
My issue is that I have a page (page 4 on both events) where if the player tries to breed the horse with itself, a message pops up saying "You cannot breed a horse with itself. Please choose a different horse." And it works fine if the player selects the male horse first to start breeding, but doesn't work if the player selects the female horse first to start breeding.
I have two switches - Horse Breeding M Start and Horse Breeding F Start. I even tried putting the female horse in the first stall (she was originally in the second stall) and it still didn't work. So I have no idea what's going on.
So here are my event pages for the first stall:







And here are my event pages for Stall 2:







If anyone can help me figure out why my Horse Breeding F First switch isn't working, I would really appreciate it. Thank you!