I'm new to ROM hacking, and I'm trying to have some dialogue appear when the game starts, however I can never use setvar to stop the map script from repeating because using it results in the following behavior:
This is what my script looks like
Code:
'---------------
#org 0x800000
setvar 0x5100 0x1
lock
msgbox 0x8800011 MSG_KEEPOPEN '"Test"
release
end
'---------
' Strings
'---------
#org 0x800011
= Test
And this is the Advance Map setup
I've looked at similar scripts from other ROM hacks and in the base game and I have no idea what I'm doing wrong. I originally thought it may be because I have a CFRU patch on my ROM but I get this exact same behavior in a Vanilla ROM. If anyone knows how to fix this I would be very grateful!