Bladecraft
It's written "Bladecraft" on my forehead.
- 83
- Posts
- 8
- Years
- Seen Jun 18, 2020
Okay so, I've been sitting on this for like 4 hours now and looked for help all around and nothing seems to fix my problem. (I'm using Pokemon Emerald)
My goal:
After the catching tutorial, I want the player to have a level 5 Ralts in his party, obtain the Pokedex, and Running shoes.
Note: The player begins the catching tutorial with 0 Pokemon and can't access the Pokemon menu.
What I tried:
I found out that in Norman's gym, on advanced map, header tab, script 3 is what happens after the catching tutorial. This is the original script
If I add this line in order to give the player the Ralts:
givepokemon 0x118 0x5 0x0 0x0 0x0 0x0
It deletes a few lines from the the end of the code, including the release and end lines, which means it loops. Also, for some reason, it says "added aqua grunt to pokenav" before looping to the text again.
I found the line:
bufferfirstpokemon 0x0
I assumed that this line makes it so you can see the Pokemon tab at your menu when you receive your first Pokemon (found it at Birch's lab) but no success there.
I thought that I'm overwriting some scripts, so, in the beginning of the code, I added the lines:
#freespace 0xFF
#dynamic 0xE3D221
#org @start
Of course, when I tried these, I deleted the first "#org @0x2049A4" line from the original code.
The results: Sometime I was able to compile, but results unchanged, and other times, it couldn't compile because no memory.
I've seen a bunch of tutorials, read a ton of guides at this forum and I'll admit I'm stuck. Gonna need someone to hold my hand through this one, or better yet, manage to explain to me what am I doing wrong.
Thanks in advance(d map)
My goal:
After the catching tutorial, I want the player to have a level 5 Ralts in his party, obtain the Pokedex, and Running shoes.
Note: The player begins the catching tutorial with 0 Pokemon and can't access the Pokemon menu.
What I tried:
I found out that in Norman's gym, on advanced map, header tab, script 3 is what happens after the catching tutorial. This is the original script
Spoiler:
'---------------
#org 0x2049A4
lockall
msgbox 0x8205B32 MSG_KEEPOPEN '"DAD: So, did it work out?"
msgbox 0x8205B4C MSG_KEEPOPEN '"WALLY: Thank you, yes, it did.\nHe..."
closeonkeypress
applymovement MOVE_PLAYER 0x82725AA
applymovement 0xA 0x82049EC
waitmovement 0x0
sound 0x9
hidesprite 0xA
setflag 0x2D6
pause 0x1E
applymovement MOVE_PLAYER 0x82725A6
waitmovement 0x0
msgbox 0x8205C40 MSG_KEEPOPEN '"DAD: Now[.]\p[player], if you want..."
setvar 0x4085 0x2
releaseall
end
'---------
' Strings
'---------
#org 0x205B32
= DAD: So, did it work out?
#org 0x205B4C
= WALLY: Thank you, yes, it did.\nHere's your POKéMON back.\p[player], thank you for coming along\nwith me.\pYou two are why I was able to catch\nmy POKéMON.\pI promise I'll take really good\ncare of it.\pOh! My mom's waiting for me,\nso I have to go!\pBye, [player]!
#org 0x205C40
= DAD: Now[.]\p[player], if you want to become a\nstrong TRAINER, here's my advice.\pHead for RUSTBORO CITY beyond this\ntown.\pThere, you should challenge\nthe GYM LEADER, ROXANNE.\pAfter her, go on to other POKéMON\nGYMS and defeat their LEADERS.\pCollect BADGES from them,\nunderstood?\pOf course, I'm a GYM LEADER, too.\nWe'll battle one day, [player].\pBut that's only after you become\nstronger.
'-----------
' Movements
'-----------
#org 0x2725AA
#raw 0x25 'Step on the Spot Down (Fastest)
#raw 0xFE 'End of Movements
#org 0x2049EC
#raw 0x8 'Step Down (Normal)
#raw 0x8 'Step Down (Normal)
#raw 0x8 'Step Down (Normal)
#raw 0x14 'Delay5
#raw 0xFE 'End of Movements
#org 0x2725A6
#raw 0x26 'Step on the Spot Up (Fastest)
#raw 0xFE 'End of Movements
#org 0x2049A4
lockall
msgbox 0x8205B32 MSG_KEEPOPEN '"DAD: So, did it work out?"
msgbox 0x8205B4C MSG_KEEPOPEN '"WALLY: Thank you, yes, it did.\nHe..."
closeonkeypress
applymovement MOVE_PLAYER 0x82725AA
applymovement 0xA 0x82049EC
waitmovement 0x0
sound 0x9
hidesprite 0xA
setflag 0x2D6
pause 0x1E
applymovement MOVE_PLAYER 0x82725A6
waitmovement 0x0
msgbox 0x8205C40 MSG_KEEPOPEN '"DAD: Now[.]\p[player], if you want..."
setvar 0x4085 0x2
releaseall
end
'---------
' Strings
'---------
#org 0x205B32
= DAD: So, did it work out?
#org 0x205B4C
= WALLY: Thank you, yes, it did.\nHere's your POKéMON back.\p[player], thank you for coming along\nwith me.\pYou two are why I was able to catch\nmy POKéMON.\pI promise I'll take really good\ncare of it.\pOh! My mom's waiting for me,\nso I have to go!\pBye, [player]!
#org 0x205C40
= DAD: Now[.]\p[player], if you want to become a\nstrong TRAINER, here's my advice.\pHead for RUSTBORO CITY beyond this\ntown.\pThere, you should challenge\nthe GYM LEADER, ROXANNE.\pAfter her, go on to other POKéMON\nGYMS and defeat their LEADERS.\pCollect BADGES from them,\nunderstood?\pOf course, I'm a GYM LEADER, too.\nWe'll battle one day, [player].\pBut that's only after you become\nstronger.
'-----------
' Movements
'-----------
#org 0x2725AA
#raw 0x25 'Step on the Spot Down (Fastest)
#raw 0xFE 'End of Movements
#org 0x2049EC
#raw 0x8 'Step Down (Normal)
#raw 0x8 'Step Down (Normal)
#raw 0x8 'Step Down (Normal)
#raw 0x14 'Delay5
#raw 0xFE 'End of Movements
#org 0x2725A6
#raw 0x26 'Step on the Spot Up (Fastest)
#raw 0xFE 'End of Movements
If I add this line in order to give the player the Ralts:
givepokemon 0x118 0x5 0x0 0x0 0x0 0x0
It deletes a few lines from the the end of the code, including the release and end lines, which means it loops. Also, for some reason, it says "added aqua grunt to pokenav" before looping to the text again.
I found the line:
bufferfirstpokemon 0x0
I assumed that this line makes it so you can see the Pokemon tab at your menu when you receive your first Pokemon (found it at Birch's lab) but no success there.
I thought that I'm overwriting some scripts, so, in the beginning of the code, I added the lines:
#freespace 0xFF
#dynamic 0xE3D221
#org @start
Of course, when I tried these, I deleted the first "#org @0x2049A4" line from the original code.
The results: Sometime I was able to compile, but results unchanged, and other times, it couldn't compile because no memory.
I've seen a bunch of tutorials, read a ton of guides at this forum and I'll admit I'm stuck. Gonna need someone to hold my hand through this one, or better yet, manage to explain to me what am I doing wrong.
Thanks in advance(d map)
Last edited: