DJTiki
top 3 most uninteresting microcelebrities
- 1,257
- Posts
- 11
- Years
- Florida, USA
- Seen Jun 24, 2024
I am having trouble with a script that refuses to keep an overworld sprite hidden, despite setting the flag to 0x200. Here is the compiled version of the script.
'---------------
#org 0x80096A
lock
faceplayer
checkflag 0x829
if 0x0 goto 0x8800B41
msgbox 0x88009C1 MSG_NORMAL '"DAD: Hey, [player]!\nHappy Birthda..."
applymovement 0x1 0x8800B2E
msgbox 0x8800A3B MSG_NORMAL '"Huh? Your Pokedex is outdated\nI'l..."
fanfare 0x13E
special 0x16F
msgbox 0x8800AA8 MSG_KEEPOPEN '"Your Pokedex was upgraded!"
waitfanfare
closeonkeypress
msgbox 0x8800AC5 MSG_NORMAL '"Let's go, get your present!"
release
applymovement MOVE_PLAYER 0x8800B31
waitmovement 0x0
applymovement 0x1 0x8800B37
waitmovement 0x0
hidesprite LASTTALKED
setflag 0x200
end
'---------------
#org 0x800B41
msgbox 0x8800AE3 MSG_FACE '"I'm kinda busy at the time.\nTalk ..."
release
end
'---------
' Strings
'---------
#org 0x8009C1
= DAD: Hey, [player]!\nHappy Birthday!\pI'm sure you've been told this.\nBut let's cut to the chase and\lget your present, already!
#org 0x800A3B
= Huh? Your Pokedex is outdated\nI'll fix this, right now!\lThought your Mom was supposed to\ldo this. Oh well.
#org 0x800AA8
= Your Pokedex was upgraded!
#org 0x800AC5
= Let's go, get your present!
#org 0x800AE3
= I'm kinda busy at the time.\nTalk to me in a bit.\lYour mother wanted you.
'-----------
' Movements
'-----------
#org 0x800B2E
#raw 0x62 'Exclamation Mark (!)
#raw 0xFE 'End of Movements
#org 0x800B31
#raw 0x4D 'mov4D
#raw 0x2 'Face Left
#raw 0x12 'Step Left (Normal)
#raw 0x3 'Face Right
#raw 0xFE 'End of Movements
#org 0x800B37
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x2 'Face Left
#raw 0x12 'Step Left (Normal)
#raw 0x0 'Face Down
#raw 0x10 'Step Down (Normal)
#raw 0xFE 'End of Movements
Spoiler:
'---------------
#org 0x80096A
lock
faceplayer
checkflag 0x829
if 0x0 goto 0x8800B41
msgbox 0x88009C1 MSG_NORMAL '"DAD: Hey, [player]!\nHappy Birthda..."
applymovement 0x1 0x8800B2E
msgbox 0x8800A3B MSG_NORMAL '"Huh? Your Pokedex is outdated\nI'l..."
fanfare 0x13E
special 0x16F
msgbox 0x8800AA8 MSG_KEEPOPEN '"Your Pokedex was upgraded!"
waitfanfare
closeonkeypress
msgbox 0x8800AC5 MSG_NORMAL '"Let's go, get your present!"
release
applymovement MOVE_PLAYER 0x8800B31
waitmovement 0x0
applymovement 0x1 0x8800B37
waitmovement 0x0
hidesprite LASTTALKED
setflag 0x200
end
'---------------
#org 0x800B41
msgbox 0x8800AE3 MSG_FACE '"I'm kinda busy at the time.\nTalk ..."
release
end
'---------
' Strings
'---------
#org 0x8009C1
= DAD: Hey, [player]!\nHappy Birthday!\pI'm sure you've been told this.\nBut let's cut to the chase and\lget your present, already!
#org 0x800A3B
= Huh? Your Pokedex is outdated\nI'll fix this, right now!\lThought your Mom was supposed to\ldo this. Oh well.
#org 0x800AA8
= Your Pokedex was upgraded!
#org 0x800AC5
= Let's go, get your present!
#org 0x800AE3
= I'm kinda busy at the time.\nTalk to me in a bit.\lYour mother wanted you.
'-----------
' Movements
'-----------
#org 0x800B2E
#raw 0x62 'Exclamation Mark (!)
#raw 0xFE 'End of Movements
#org 0x800B31
#raw 0x4D 'mov4D
#raw 0x2 'Face Left
#raw 0x12 'Step Left (Normal)
#raw 0x3 'Face Right
#raw 0xFE 'End of Movements
#org 0x800B37
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x2 'Face Left
#raw 0x12 'Step Left (Normal)
#raw 0x0 'Face Down
#raw 0x10 'Step Down (Normal)
#raw 0xFE 'End of Movements