- 287
- Posts
- 12
- Years
- Age 25
- Portugal
- Seen Jul 5, 2021
Spoiler:
#dynamic 0x80312C
#org @start
lock
checkflag 0x124
if 0x1 gosub @nope
checkflag 0x119
if 0x0 goto @1
showpokepic 0x74 0x0a 0x03
msgbox @a 0x5
hidepokepic
compare lastresult 0x1
if 0x0 goto @no
fanfare 0x13e
msgbox @b 0x4
waitfanfare
givepokemon 0x74 0x5 0x0 0x0 0x0 0x0
setflag 0x828
hidesprite 0x03
setflag 0x11a
setflag 0x124
clearflag 0x10b
release
end
#org @1
msgbox @not 0x6
release
end
#org @no
release
end
#org @a
= Would you like to choose [blue_fr]Horsea[black_fr],\nthe sea horse Pokémon?
#org @b
= You received an Horsea!
#org @not
= It's a PokéBall.
#org @nope
= It's a PokéBall.
#org @start
lock
checkflag 0x124
if 0x1 gosub @nope
checkflag 0x119
if 0x0 goto @1
showpokepic 0x74 0x0a 0x03
msgbox @a 0x5
hidepokepic
compare lastresult 0x1
if 0x0 goto @no
fanfare 0x13e
msgbox @b 0x4
waitfanfare
givepokemon 0x74 0x5 0x0 0x0 0x0 0x0
setflag 0x828
hidesprite 0x03
setflag 0x11a
setflag 0x124
clearflag 0x10b
release
end
#org @1
msgbox @not 0x6
release
end
#org @no
release
end
#org @a
= Would you like to choose [blue_fr]Horsea[black_fr],\nthe sea horse Pokémon?
#org @b
= You received an Horsea!
#org @not
= It's a PokéBall.
#org @nope
= It's a PokéBall.
Game: Pokemon FR
Info:
There are 3 pokeballs, each has this script (with text and pokemon changed)
They all work fine, but when I choose one of them, afterwards, the other ones dont have a script
When I interact with them, I should get
#org @nope
= It's a PokéBall.
But I get nothing instead
I used the command gosub for experiment purposes, since it doesn't work with goto
Hope you guys can help me :)