- 3
- Posts
- 10
- Years
- Seen Feb 20, 2024
I have a script that starts a fight, fades the screen and sets a flag. I have the flag set within the sprites person id within advance map.
The problem is the person even will disappear after the fight from the hidesprite function, but reappears whenever you take a step. HOWEVER, if you leave the zone and then re-enter, the person event does not show (as you would expect).
Why does this happen? How do I keep the person even from reshowing after the fight (and before you leave the zone).
The script in question:
The problem is the person even will disappear after the fight from the hidesprite function, but reappears whenever you take a step. HOWEVER, if you leave the zone and then re-enter, the person event does not show (as you would expect).
Why does this happen? How do I keep the person even from reshowing after the fight (and before you leave the zone).
The script in question:
Code:
#org @startfight
cry 0xFB 0x2
setwildbattle 0xFB 0x5 0x5D
special 0x138
playsong 0x156 0x0
fadescreen 0x1
fadescreen 0x0
hidesprite 0x800F
setflag 0x200
release
end