- 9
- Posts
- 5
- Years
- Shanghai
- Seen Mar 23, 2021
Hello everyone, I'm currently tring to add new scripts to a Heartgold ROM, the frist one being a trigger to prevent you from leaving Pallet town without visiting prof OAK
Scripts like this:
However, the game crashed upon walking into the trigger. Though when the movement commands (in italics) are removed, it behaves normaly again.
How to solve this?
Scripts like this:
Code:
[B](PPRE 0.14 format)[/B]
[B]scr_9[/B]
Checkflag 7000
CheckLR 0 func_6
End
[B]func_6[/B]
Fanfare 1500
Lockall
Message 6
WaitButton
CloseMsgOnKeyPress
[I]Applymovement 255 mov_5
Waitmovement [/I]
Releaseall
End
[B]mov_5[/B]
MoveDownNormal 1
However, the game crashed upon walking into the trigger. Though when the movement commands (in italics) are removed, it behaves normaly again.
How to solve this?