- 3
- Posts
- 4
- Years
- Seen Jan 13, 2025
So I made my first room script for my romhack, but everytime I step into the room that it occupies, the game stays at a black screen forever. Here's the script:
'---------------
#org 0x26DAAA
lock
applymovement MOVE_PLAYER 0x826DB09
waitmovement 0x0
fanfare 0x100
waitfanfare
msgbox 0x826DB0D MSG_KEEPOPEN '"Welcome to the Sevii Festival.\nRa..."
showpokepic 0x3DD 0xA 0x3
msgbox 0x826DB87 MSG_KEEPOPEN '"Type:Null!"
hidepokepic
givepokemon 0x3DD 0x5 0x0 0x0 0x0 0x0
bufferpokemon 0x0 0x3DD
fanfare 0x13E
waitfanfare
msgbox 0x826DB94 MSG_YESNO '"Would you like to give a nickname\..."
compare LASTRESULT 0x1
if 0x1 call 0x826DAFC
release
end
'---------------
#org 0x26DAFC
setvar 0x8004 0x0
fadescreen 0x1
special 0x9E
waitstate
return
'---------
' Strings
'---------
#org 0x26DB0D
= Welcome to the Sevii Festival.\nRandomizing Starter Pokemon...\lCalculating...\lCalculating...\lYour Starter Pokemon is...\l
#org 0x26DB87
= Type:Null!
#org 0x26DB94
= Would you like to give a nickname\nto your Type:Null?
'-----------
' Movements
'-----------
#org 0x26DB09
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
Can anyone tell me what's wrong? Thanks so much in advance. Virtual high fives for all.
'---------------
#org 0x26DAAA
lock
applymovement MOVE_PLAYER 0x826DB09
waitmovement 0x0
fanfare 0x100
waitfanfare
msgbox 0x826DB0D MSG_KEEPOPEN '"Welcome to the Sevii Festival.\nRa..."
showpokepic 0x3DD 0xA 0x3
msgbox 0x826DB87 MSG_KEEPOPEN '"Type:Null!"
hidepokepic
givepokemon 0x3DD 0x5 0x0 0x0 0x0 0x0
bufferpokemon 0x0 0x3DD
fanfare 0x13E
waitfanfare
msgbox 0x826DB94 MSG_YESNO '"Would you like to give a nickname\..."
compare LASTRESULT 0x1
if 0x1 call 0x826DAFC
release
end
'---------------
#org 0x26DAFC
setvar 0x8004 0x0
fadescreen 0x1
special 0x9E
waitstate
return
'---------
' Strings
'---------
#org 0x26DB0D
= Welcome to the Sevii Festival.\nRandomizing Starter Pokemon...\lCalculating...\lCalculating...\lYour Starter Pokemon is...\l
#org 0x26DB87
= Type:Null!
#org 0x26DB94
= Would you like to give a nickname\nto your Type:Null?
'-----------
' Movements
'-----------
#org 0x26DB09
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
Can anyone tell me what's wrong? Thanks so much in advance. Virtual high fives for all.