So i wanted to make this new choose starter script
there's these three separate objects that are the starters
i made this script for one of them:
But no matter what i put into that person event, i can put literally anything it will always freeze the game and i don't know why
I'm losing my mind at this point, does anyone know why interacting with the person object makes it freeze no matter what?
UPDATE: Now one of the three starters works but:
1: the movement commands get completely screwed up once i compile it in game
2: only one of the three starters work, the other ones? still freeze the game
there's these three separate objects that are the starters
i made this script for one of them:
Code:
#dynamic 0x810D88
#org @grass
lockall
checkflag 0x211
if 0x1 goto @urdone
showpokepic 0x1 0xA 0x3
msgbox @budeer 0x4
closeonkeypress
msgbox @choice 0x5
compare LASTRESULT 0x1
if 0x1 goto @yes
compare LASTRESULT 0x0
if 0x1 goto @no
#org @urdone
msgbox @cantpick 0x6
releaseall
end
#org @yes
hidepokepic
addvar 0x4031 0x0
setflag 0x206
setflag 0x828
hidesprite 0x5
msgbox @picked 0x6
givepokemon 0x1 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox @receive 0x6
waitfanfare
closeonkeypress
msgbox @nickname 0x5
compare LASTRESULT 0x1
if 0x1 goto @yesnick
compare LASTRESULT 0x0
if 0x1 goto @nonick
#org @no
hidepokepic
releaseall
end
#org @yesnick
fadescreen 0x1
special 0x9E
waitstate
goto @nonick
#org @nonick
applymovement 0x8 @ronanpicks
waitmovement 0x0
msgbox @ronan 0x6
setflag 0x207
hidesprite 0x6
fanfare 0x13E
msgbox @ronanchoice 0x4
waitfanfare
closeonkeypress
releaseall
end
#org @budeer
= [green_fr]This is BUDEER, a GRASS type\nPokémon.\pIt's very playful but scaredy\nat times.
#org @choice
= Will you choose this Pokémon?
#org @cantpick
= You already picked a pokémon, you\ncan't pick this one anymore.
#org @picked
= This pokémon is the perfect\nchoice!
#org @receive
= [player] received the Budeer from\nthe professor!
#org @nickname
= Do you want to give a nickname to\nthis Budeer?
#org @ronan
= I've decided! You will be my\nfirst Pokémon!
#org @ronanchoice
= [rival] obtained the Lapillox from\nthe professor!
#org @ronanpicks
#raw 0x13
#raw 0x1
#raw 0xFE
But no matter what i put into that person event, i can put literally anything it will always freeze the game and i don't know why
I'm losing my mind at this point, does anyone know why interacting with the person object makes it freeze no matter what?
UPDATE: Now one of the three starters works but:
1: the movement commands get completely screwed up once i compile it in game
2: only one of the three starters work, the other ones? still freeze the game
Last edited: