- 4
- Posts
- 5
- Years
- Seen Feb 26, 2023
I've been working on a rom hack of emerald recently and when scripting text and data for a gym leader I got this error. I have no idea what causing it and I could not find a solution on the internet. I have the script here
Any help would be greatly accepted thanks!
Spoiler:
#dynamic 0x9D9664
#org @start
lock
faceplayer
checkflag 0x820
if 0x1 goto @done
msgbox @2 0x6
trainerbattle 0x1 0x001 0x0 @before @after @later
end
#org @before
= Show me what ya got!
#org @after
= What the-?
#org @later
msgbox @3 0x6
fanfare 0x13E
msgbox @4 0x4
waitfanfare
closeonkeypress
msgbox @5 0x6
giveitem 0x125 0x1 msg_obtain
setflag 0x820
msgbox @6 0x6
release
end
#org @done
msgbox @1 0x6
release
end
#org @1
= As for what you should do next?\pI say you should check out Petalburg Woods\n on your way to Dewford town for the\lnext gym.\pThere are two rugged trees that block the\npath to the Petalburg Grotto that\lneed to be cut through to get past.\pThe Petalburg Grotto is a vast open\nspace with rare Pokemon which will\lhelp expand your roster before your\lnext challenge.\pGood luck Pokemon Trainer!\p
#org @2
= Greetings, I am Max, the\nRustboro Gym Leader.\pI became the Gym Leader here because\nof my extensive research into Normal\lType Pokemon.\pDespite their plain disposition,\nthey have been proven to be quite\lversatile learning a variety of moves\pthrough different types.\pLet's see if you're prepared to handle\nthe adaptability of my Normal type Pokemon!
#org @3
= Hm… I hadn't accounted for this.\pYou've gained the upper hand when it came\nto my Pokemon's moves.\pThe Pokémon League's rules state that\nTrainers are to be given this if they\ldefeat a Gym Leader.\pPlease accept the official Pokémon\nLeague Balance Badge.\p
#org @4
= \v\h01 recieved a badge!
#org @5
= The Plain Badge heightens the\nattack power of your Pokémon.\pIt also enables them to use the HM move\nCut outside of battle.\pPlease take this with you, too.\p
#org @6
= This is TM05, Fake Out. With Fake\nOut your Pokemon attacks the foe before\lthey can react and it makes them flinch.\pThough it only works the first turn\neach time the user enters battle,\lso be mindful of this when you use it.\pMy main line of research is in Technical\nMachines, with Normal Types' ability\lto learn so many types, it's\p only natural for me to fall for them.\pI've helped develop new Technical\nMachines in my own spare time but they\l look more like floopy disks.\pWhy, because floppy disks are cooler.\pRegardless this has aided me and the other\n Gym Leaders to expand their Pokemon's Abilities.\p
#org @start
lock
faceplayer
checkflag 0x820
if 0x1 goto @done
msgbox @2 0x6
trainerbattle 0x1 0x001 0x0 @before @after @later
end
#org @before
= Show me what ya got!
#org @after
= What the-?
#org @later
msgbox @3 0x6
fanfare 0x13E
msgbox @4 0x4
waitfanfare
closeonkeypress
msgbox @5 0x6
giveitem 0x125 0x1 msg_obtain
setflag 0x820
msgbox @6 0x6
release
end
#org @done
msgbox @1 0x6
release
end
#org @1
= As for what you should do next?\pI say you should check out Petalburg Woods\n on your way to Dewford town for the\lnext gym.\pThere are two rugged trees that block the\npath to the Petalburg Grotto that\lneed to be cut through to get past.\pThe Petalburg Grotto is a vast open\nspace with rare Pokemon which will\lhelp expand your roster before your\lnext challenge.\pGood luck Pokemon Trainer!\p
#org @2
= Greetings, I am Max, the\nRustboro Gym Leader.\pI became the Gym Leader here because\nof my extensive research into Normal\lType Pokemon.\pDespite their plain disposition,\nthey have been proven to be quite\lversatile learning a variety of moves\pthrough different types.\pLet's see if you're prepared to handle\nthe adaptability of my Normal type Pokemon!
#org @3
= Hm… I hadn't accounted for this.\pYou've gained the upper hand when it came\nto my Pokemon's moves.\pThe Pokémon League's rules state that\nTrainers are to be given this if they\ldefeat a Gym Leader.\pPlease accept the official Pokémon\nLeague Balance Badge.\p
#org @4
= \v\h01 recieved a badge!
#org @5
= The Plain Badge heightens the\nattack power of your Pokémon.\pIt also enables them to use the HM move\nCut outside of battle.\pPlease take this with you, too.\p
#org @6
= This is TM05, Fake Out. With Fake\nOut your Pokemon attacks the foe before\lthey can react and it makes them flinch.\pThough it only works the first turn\neach time the user enters battle,\lso be mindful of this when you use it.\pMy main line of research is in Technical\nMachines, with Normal Types' ability\lto learn so many types, it's\p only natural for me to fall for them.\pI've helped develop new Technical\nMachines in my own spare time but they\l look more like floopy disks.\pWhy, because floppy disks are cooler.\pRegardless this has aided me and the other\n Gym Leaders to expand their Pokemon's Abilities.\p
Any help would be greatly accepted thanks!