- 287
- Posts
- 12
- Years
- Age 25
- Portugal
- Seen Jul 5, 2021
Hey, I have a problem, so I have this Level Script:
I went through all the steps to insert a level script, and it works fine, I even did it with other level scripts
However, when the script ends I get this:
![[PokeCommunity.com] Level script problem [PokeCommunity.com] Level script problem](https://i39.servimg.com/u/f39/18/90/55/70/sem_ta19.png)
Whenever i press any button that message re appears and I'm stuck
Any help would be good
Spoiler:
#dynamic 0x1BA71E
#org @start
lock
sound 0x15
applymovement 0x7 @move1
waitmovement 0x0
pause 0x10
applymovement 0x07 @move2
waitmovement 0x0
msgbox @1 0x6
setflag 0x82f
fanfare 0x13e
msgbox @2 0x4
waitfanfare
msgbox @3 0x6
applymovement 0x07 @move3
waitmovement 0x0
hidesprite 0x07
setflag 0x22
setvar 0x4050 0x7
release
end
#org @1
= [red_fr]Hey, you! You look like someone who\nlikes sports!\pMy dad and I just opened a sports\nshop in Wiccen City and I'm giving\la lucky passer-by a nice\lpromotional gift. Here's yours!
#org @2
= [player] obtained the Running\nShoes.
#org @3
= [red_fr]You know how to use them, right?\nJust hold down B to start\lrunning. Well, I'm off to the\lnext city, to give away more\lpresents, but be sure to visit\lour sports shop!
#org @move1
#raw 0x02
#raw 0x62
#raw 0xfe
#org @move2
#raw 0x1f
#raw 0x1f
#raw 0x1f
#raw 0x1f
#raw 0x1e
#raw 0xfe
#org @move3
#raw 0x1D
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0xfe
#org @start
lock
sound 0x15
applymovement 0x7 @move1
waitmovement 0x0
pause 0x10
applymovement 0x07 @move2
waitmovement 0x0
msgbox @1 0x6
setflag 0x82f
fanfare 0x13e
msgbox @2 0x4
waitfanfare
msgbox @3 0x6
applymovement 0x07 @move3
waitmovement 0x0
hidesprite 0x07
setflag 0x22
setvar 0x4050 0x7
release
end
#org @1
= [red_fr]Hey, you! You look like someone who\nlikes sports!\pMy dad and I just opened a sports\nshop in Wiccen City and I'm giving\la lucky passer-by a nice\lpromotional gift. Here's yours!
#org @2
= [player] obtained the Running\nShoes.
#org @3
= [red_fr]You know how to use them, right?\nJust hold down B to start\lrunning. Well, I'm off to the\lnext city, to give away more\lpresents, but be sure to visit\lour sports shop!
#org @move1
#raw 0x02
#raw 0x62
#raw 0xfe
#org @move2
#raw 0x1f
#raw 0x1f
#raw 0x1f
#raw 0x1f
#raw 0x1e
#raw 0xfe
#org @move3
#raw 0x1D
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0xfe
I went through all the steps to insert a level script, and it works fine, I even did it with other level scripts
However, when the script ends I get this:
![[PokeCommunity.com] Level script problem [PokeCommunity.com] Level script problem](https://i39.servimg.com/u/f39/18/90/55/70/sem_ta19.png)
Whenever i press any button that message re appears and I'm stuck
Any help would be good