- 35
- Posts
- 9
- Years
- Age 25
- Massachusetts
- Seen Feb 14, 2023
Not sure exactly what I'm doing wrong, but xse won't compile this script:
I know it's blaming this line:
Also off topic(don't feel like making another post just to ask this.), but does anyone know how I might do my own custom wild battle with it using oak actually steeping out, and throwing his own pokeball from his own bag to catch a pokemon that appears? basically I want to do the pikachu wild battle from pokemon yellow. if someone could point me to where wild battle method is located that might be enough
Spoiler:
#dynamic 0x800000
#org @start
lockall
setvar 0x4001 0x0
setvar 0x8004 0x0
setvar 0x8005 0x2
special 0x174
textcolor 0x0
pause 0x1E
playsong 0x12E 0x0
preparemsg @wait
waitmsg
pause 0x55
closeonkeypress
applymovement 0xFF @move5
waitmovement 0x0
sound 0x15
applymovement 0xFF @move6
waitmovement 0x0
pause 0x1E
showsprite 0x3
compare 0x4001 0x0
if 0x1 call @move1
compare 0x4001 0x1
if 0x1 call @move2
pause 0x1E
msgbox @before 0x4
closeonkeypress
cry 0x19 0x0
msgbox @after 0x4
closeonkeypress
pause 0x1E
compare 0x4001 0x0
if 0x1 call @move3
compare 0x4001 0x1
if 0x1 call @move4
setdooropened 0x10 0xD
doorchange
applymovement 0x3 @move7
applymovement 0xFF @move8
waitmovement 0x0
setdoorclosed 0x10 0xD
doorchange
setvar 0x4055 0x1
clearflag 0x2B
setvar 0x4050 0x1
setflag 0x2C
setflag 0x4001
warp 0x4 0x3 0xFF 0x6 0xC
waitstate
releaseall
end
'---------------
#org @move1
applymovement 0x3 @move9
waitmovement 0x0
return
'---------------
#org @move2
applymovement 0x3 @move10
waitmovement 0x0
return
'---------------
#org @move3
applymovement 0x3 @move11
applymovement 0xFF @move12
waitmovement 0x0
return
'---------------
#org @move4
applymovement 0x3 @move13
applymovement 0xFF @move14
waitmovement 0x0
return
'---------
' Strings
'---------
#org @wait
= OAK: Hey! Wait!\nDon't go out!
#org @before
= OAK: It's unsafe!\nWild POKéMON live in tall grass!
#org @after
= OAK : Whew… \pA POKéMON can appear at \nanytime in tall grass.\pYou need your own POKéMON for\nyour protection.\pI know!\nHere, come with me!
'-----------
' Movements
'-----------
#org @move5
#raw 0x2D
#raw 0xFE
#org @move6
#raw 0x62
#raw 0xFE
#org @move7
#raw 0x11
#raw 0x60
#raw 0xFE
#org @move8
#raw 0x13
#raw 0x11
#raw 0x60
#raw 0xFE
#org @move9
#raw 0x11
#raw 0x11
#raw 0x13
#raw 0x11
#raw 0x11
#raw 0x13
#raw 0x11
#raw 0x11
#raw 0xFE
#org @move10
#raw 0x13
#raw 0x11
#raw 0x11
#raw 0x13
#raw 0x11
#raw 0x11
#raw 0x13
#raw 0x11
#raw 0x11
#raw 0xFE
#org @move11
#raw 0x10
#raw 0x12
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x2E
#raw 0xFE
#org @move12
#raw 0x10
#raw 0x10
#raw 0x12
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0xFE
#org @move13
#raw 0x10
#raw 0x12
#raw 0x12
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x2E
#raw 0xFE
#org @move14
#raw 0x10
#raw 0x10
#raw 0x12
#raw 0x12
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0xFE
#org @start
lockall
setvar 0x4001 0x0
setvar 0x8004 0x0
setvar 0x8005 0x2
special 0x174
textcolor 0x0
pause 0x1E
playsong 0x12E 0x0
preparemsg @wait
waitmsg
pause 0x55
closeonkeypress
applymovement 0xFF @move5
waitmovement 0x0
sound 0x15
applymovement 0xFF @move6
waitmovement 0x0
pause 0x1E
showsprite 0x3
compare 0x4001 0x0
if 0x1 call @move1
compare 0x4001 0x1
if 0x1 call @move2
pause 0x1E
msgbox @before 0x4
closeonkeypress
cry 0x19 0x0
msgbox @after 0x4
closeonkeypress
pause 0x1E
compare 0x4001 0x0
if 0x1 call @move3
compare 0x4001 0x1
if 0x1 call @move4
setdooropened 0x10 0xD
doorchange
applymovement 0x3 @move7
applymovement 0xFF @move8
waitmovement 0x0
setdoorclosed 0x10 0xD
doorchange
setvar 0x4055 0x1
clearflag 0x2B
setvar 0x4050 0x1
setflag 0x2C
setflag 0x4001
warp 0x4 0x3 0xFF 0x6 0xC
waitstate
releaseall
end
'---------------
#org @move1
applymovement 0x3 @move9
waitmovement 0x0
return
'---------------
#org @move2
applymovement 0x3 @move10
waitmovement 0x0
return
'---------------
#org @move3
applymovement 0x3 @move11
applymovement 0xFF @move12
waitmovement 0x0
return
'---------------
#org @move4
applymovement 0x3 @move13
applymovement 0xFF @move14
waitmovement 0x0
return
'---------
' Strings
'---------
#org @wait
= OAK: Hey! Wait!\nDon't go out!
#org @before
= OAK: It's unsafe!\nWild POKéMON live in tall grass!
#org @after
= OAK : Whew… \pA POKéMON can appear at \nanytime in tall grass.\pYou need your own POKéMON for\nyour protection.\pI know!\nHere, come with me!
'-----------
' Movements
'-----------
#org @move5
#raw 0x2D
#raw 0xFE
#org @move6
#raw 0x62
#raw 0xFE
#org @move7
#raw 0x11
#raw 0x60
#raw 0xFE
#org @move8
#raw 0x13
#raw 0x11
#raw 0x60
#raw 0xFE
#org @move9
#raw 0x11
#raw 0x11
#raw 0x13
#raw 0x11
#raw 0x11
#raw 0x13
#raw 0x11
#raw 0x11
#raw 0xFE
#org @move10
#raw 0x13
#raw 0x11
#raw 0x11
#raw 0x13
#raw 0x11
#raw 0x11
#raw 0x13
#raw 0x11
#raw 0x11
#raw 0xFE
#org @move11
#raw 0x10
#raw 0x12
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x2E
#raw 0xFE
#org @move12
#raw 0x10
#raw 0x10
#raw 0x12
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0xFE
#org @move13
#raw 0x10
#raw 0x12
#raw 0x12
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x2E
#raw 0xFE
#org @move14
#raw 0x10
#raw 0x10
#raw 0x12
#raw 0x12
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0xFE
I know it's blaming this line:
OAK : Whew… \pA POKéMON can appear at \nanytime in tall grass.\pYou need your own POKéMON for\nyour protection.\pI know!\nHere, come with me!
Also off topic(don't feel like making another post just to ask this.), but does anyone know how I might do my own custom wild battle with it using oak actually steeping out, and throwing his own pokeball from his own bag to catch a pokemon that appears? basically I want to do the pikachu wild battle from pokemon yellow. if someone could point me to where wild battle method is located that might be enough