The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > ROM Hacking > ROM Hacking Hub
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

ROM Hacking Hub General discussions about ROM Hacking and Emulation. Not sure where to start? This is the place for you.
Posting links to ROMs is illegal and is not tolerated anywhere on the forum.


Closed Thread
Click here to go to the first staff post in this thread.  
Thread Tools
  #9676    
Old April 24th, 2014, 01:46 PM
Dark Sneasel's Avatar
Dark Sneasel
Big Daddy in the House!
Community Supporter
 
Join Date: Jun 2013
Location: Miami, FL
Age: 14
Gender: Male
Nature: Hasty
Rewrote the script I was having trouble with, but now two people won't move.. I absolutely made sure that they are not using the "Look down" in A-Map. I seriously do not understand why the people won't move. I had made sure their numbers match, the applymovement and person event, and they still don't move.
I also made sure to have a waitmovement 0x0 after the person before them.
I have bolded the people that don't move. Oh yeah, player still doesn't move.

Spoiler:
'---------------
#org 0x71A2DC
#raw 0x2
#raw pointer 0x871A2E2
#raw 0x0

'---------------
#org 0x71A2E2
#raw word 0x4001
#raw word 0x0
#raw pointer 0x8805690
#raw word 0x0

'---------------
#org 0x805690
setvar 0x4001 0x0
msgbox 0x8805826 MSG_NORMAL '"Mayor: Everyone under the age of\n..."
applymovement MOVE_PLAYER 0x88058A1
waitmovement 0x0
applymovement MOVE_PLAYER 0x88058A4
waitmovement 0x0
applymovement 0x2 0x88058B5
waitmovement 0x0
applymovement 0xB 0x88058C5
waitmovement 0x0
applymovement 0x1 0x88058D1
waitmovement 0x0
msgbox 0x88058E2 MSG_NORMAL '"The reason I have called you all\n..."
applymovement MOVE_PLAYER 0x88058A1
waitmovement 0x0
applymovement 0x2 0x88058A1
waitmovement 0x0
applymovement 0xB 0x88058A1
waitmovement 0x0
applymovement 0x1 0x88058A1
waitmovement 0x0
msgbox 0x8805940 MSG_NORMAL '"[red_fr]Awesome!"
msgbox 0x880594E MSG_NORMAL '"[blue_fr]That's great!"
msgbox 0x8805961 MSG_NORMAL '"Now the reason why is a bit\nfrigh..."
applymovement MOVE_PLAYER 0x88058A1
applymovement 0x2 0x88058A1
applymovement 0xB 0x88058A1
applymovement 0x1 0x88058A1
waitmovement 0x0
msgbox 0x8805A61 MSG_NORMAL '"You each need a Pokémon for\nprote..."
msgbox 0x8805B0B MSG_NORMAL '"Let's get this started..\nSarah, a..."
msgbox 0x8805B72 MSG_NORMAL '"[red_fr]I really like Zigzagoon, s..."
msgbox 0x8805B95 MSG_NORMAL '"Zigzagoon, eh? Good choice. Here\n..."
msgbox 0x8805BE7 MSG_NORMAL '"[red_fr]Thank you very much, mayor..."
applymovement 0xB 0x8805C08
waitmovement 0x0
hidesprite 0xB
applymovement 0xA 0x8805CA9
waitmovement 0x0
msgbox 0x8805C15 MSG_NORMAL '"Well she's off fast..\nAnyways, Bi..."
msgbox 0x8805C4F MSG_NORMAL '"[blue_fr]I don't get to choose?"
msgbox 0x8805C6B MSG_NORMAL '"No. You get Rattata."
applymovement 0x2 0x8805CA0
msgbox 0x8805C82 MSG_NORMAL '"[blue_fr]Wow... thanks, I guess.."
applymovement 0xA 0x8805CC8
waitmovement 0x0
msgbox 0x8805CAD MSG_NORMAL '"I never liked that kid.."
msgbox 0x8805CCC MSG_NORMAL '"Alright, now Albert. Which Pokémon..."
msgbox 0x8805D17 MSG_NORMAL '"[green_fr]I would love Spinarak si..."
msgbox 0x8805D37 MSG_NORMAL '"Alright, here's your Spinarak and\..."
msgbox 0x8805D78 MSG_NORMAL '"[green_fr]Thank you sir! I'm gonna..."
applymovement 0x1 0x8805DAD
waitmovement 0x0
applymovement 0xA 0x8805DB7
waitmovement 0x0
applymovement MOVE_PLAYER 0x8805DBC
msgbox 0x8805DBF MSG_NORMAL '"Now that they're gone, I can talk\..."
msgbox 0x8805E96 MSG_YESNO '"Would you like Sneasel?"
hidesprite 0xB
hidesprite 0x1
hidesprite 0x2
compare LASTRESULT 0x1
if 0x1 goto 0x8805EB0
compare LASTRESULT 0x0
if 0x0 goto 0x8805F7D
end

'---------------
#org 0x805FDD
release
end

'---------------
#org 0x805EB0
givepokemon 0xD7 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox 0x8805F07 MSG_KEEPOPEN '"Got the Sneasel from the mayor."
waitfanfare
closeonkeypress
setflag 0x828
msgbox 0x8805F29 MSG_YESNO '"Would you like to give your\nPokém..."
compare LASTRESULT 0x1
if 0x1 goto 0x8805EEF
compare LASTRESULT 0x0
if 0x1 goto 0x8805F5B
end

'---------------
#org 0x805F7D
givepokemon 0x1F 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox 0x8805FBC MSG_KEEPOPEN '"Got the Gligar from the mayor."
waitfanfare
closeonkeypress
setflag 0x828
msgbox 0x8805F29 MSG_YESNO '"Would you like to give your\nPokém..."
compare LASTRESULT 0x1
if 0x1 goto 0x8805EEF
compare LASTRESULT 0x0
if 0x1 goto 0x8805F5B
end

'---------------
#org 0x805EEF
setvar 0x8004 0x0
call 0x8805EFF
goto 0x8805F62

'---------------
#org 0x805F5B
closeonkeypress
goto 0x8805F62

'---------------
#org 0x805EFF
fadescreen 0x1
special 0x9E
waitstate
return

'---------------
#org 0x805F62
msgbox 0x8805F70 MSG_NORMAL '"Now go [player]."
setflag 0x828
release
end


'---------
' Strings
'---------
#org 0x805826
= Mayor: Everyone under the age of\n16 please come to the middle of\lthe town! I have a very important\lannouncement to make!

#org 0x8058E2
= The reason I have called you all\nhere is because... you are all\lgoing to receive a Pokémon.

#org 0x805940
= [red_fr]Awesome!

#org 0x80594E
= [blue_fr]That's great!

#org 0x805961
= Now the reason why is a bit\nfrightening. 4 years ago in the\lregion of Hoenn there were two\lrivaling teams, Team Aqua and Team\lMagma. They both wanted to change\lthe enviroment and were very\ldangerous. There have been rumors\lof them spotted here in Regma.

#org 0x805A61
= You each need a Pokémon for\nprotection. There are more rumors\lof the teams here in Regma every\lday. I'm sorry if this is not\lmuch, but we have to do this just\lin case.

#org 0x805B0B
= Let's get this started..\nSarah, answer me this. What\lPokémon do you like more,\lZigzagoon, or Oddish?

#org 0x805B72
= [red_fr]I really like Zigzagoon, sir!

#org 0x805B95
= Zigzagoon, eh? Good choice. Here\nit is, your very own Pokémon, and\l5 Pokéballs.

#org 0x805BE7
= [red_fr]Thank you very much, mayor!

#org 0x805C15
= Well she's off fast..\nAnyways, Bill, you get a Rattata.

#org 0x805C4F
= [blue_fr]I don't get to choose?

#org 0x805C6B
= No. You get Rattata.

#org 0x805C82
= [blue_fr]Wow... thanks, I guess..

#org 0x805CAD
= I never liked that kid..

#org 0x805CCC
= Alright, now Albert. Which Pokémon\ndo you like more, Ledyba or\lSpinarak?

#org 0x805D17
= [green_fr]I would love Spinarak sir!

#org 0x805D37
= Alright, here's your Spinarak and\nyour 5 Pokéballs. Take care.

#org 0x805D78
= [green_fr]Thank you sir! I'm gonna go\nstart my adventure!

#org 0x805DBF
= Now that they're gone, I can talk\nto you. You're special, [player].\lI seee something more in you than\lI see in them, specially Bill.\lThat's why I'm gonna offer you\lstronger Pokémon. I have two here,\lSneasel and Gligar.

#org 0x805E96
= Would you like Sneasel?

#org 0x805F07
= Got the Sneasel from the mayor.

#org 0x805F29
= Would you like to give your\nPokémon a nickname?

#org 0x805FBC
= Got the Gligar from the mayor.

#org 0x805F70
= Now go [player].


'-----------
' Movements
'-----------
#org 0x8058A1
#raw 0x62 'Exclamation Mark (!)
#raw 0xFE 'End of Movements

#org 0x8058A4
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x1 'Face Up
#raw 0xFE 'End of Movements

#org 0x8058B5
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1 'Face Up
#raw 0xFE 'End of Movements

#org 0x8058C5
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0xFE 'End of Movements

#org 0x8058D1
#raw 0x1D 'Step Down (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1 'Face Up
#raw 0xFE 'End of Movements

#org 0x805C08
#raw 0x66 'Happy ()
#raw 0x1D 'Step Down (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0xFE 'End of Movements

#org 0x805CA9
#raw 0x1F 'Step Left (Fast)
#raw 0x1 'Face Up
#raw 0xFE 'End of Movements

#org 0x805CA0
#raw 0x20 'Step Right (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0xFE 'End of Movements

#org 0x805CC8
#raw 0x1F 'Step Left (Fast)
#raw 0x1 'Face Up
#raw 0xFE 'End of Movements

#org 0x805DAD
#raw 0x1F 'Step Left (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0xFE 'End of Movements

#org 0x805DB7
#raw 0x1D 'Step Down (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0xFE 'End of Movements

#org 0x805DBC
#raw 0x2 'Face Left
#raw 0xFE 'End of Movements


Thanks in advanced btw

Last edited by Dark Sneasel; April 24th, 2014 at 07:06 PM.
  #9677    
Old April 24th, 2014, 06:47 PM
Teh Blazer's Avatar
Teh Blazer
Divider of Zero
 
Join Date: Feb 2009
Location: 'MERICA
Age: 18
Gender: Male
Nature: Relaxed
Quote:
Originally Posted by Ninja Surskit View Post
Rewrote the script I was having trouble with, but now two people won't move.. I absolutely made sure that they are not using the "Look down" in A-Map. I seriously do not understand why the people won't move. I had made sure their numbers match, the applymovement and person event, and they still don't move.
I also made sure to have a waitmovement 0x0 after the person before them.
I have bolded the people that don't move. Oh yeah, player still doesn't move.

Spoiler:
'---------------
#org 0x71A2DC
#raw 0x2
#raw pointer 0x871A2E2
#raw 0x0

'---------------
#org 0x71A2E2
#raw word 0x4001
#raw word 0x0
#raw pointer 0x8805690
#raw word 0x0

'---------------
#org 0x805690
setvar 0x4001 0x0
msgbox 0x8805826 MSG_NORMAL '"Mayor: Everyone under the age of\n..."
applymovement MOVE_PLAYER 0x88058A1
waitmovement 0x0
applymovement MOVE_PLAYER 0x88058A4
waitmovement 0x0
applymovement 0x2 0x88058B5
waitmovement 0x0
applymovement 0xB 0x88058C5
waitmovement 0x0
applymovement 0x1 0x88058D1
waitmovement 0x0
msgbox 0x88058E2 MSG_NORMAL '"The reason I have called you all\n..."
applymovement MOVE_PLAYER 0x88058A1
waitmovement 0x0
applymovement 0x2 0x88058A1
waitmovement 0x0
applymovement 0xB 0x88058A1
waitmovement 0x0
applymovement 0x1 0x88058A1
waitmovement 0x0
msgbox 0x8805940 MSG_NORMAL '"[red_fr]Awesome!"
msgbox 0x880594E MSG_NORMAL '"[blue_fr]That's great!"
msgbox 0x8805961 MSG_NORMAL '"Now the reason why is a bit\nfrigh..."
applymovement MOVE_PLAYER 0x88058A1
applymovement 0x2 0x88058A1
applymovement 0xB 0x88058A1
applymovement 0x1 0x88058A1
waitmovement 0x0
msgbox 0x8805A61 MSG_NORMAL '"You each need a Pokémon for\nprote..."
msgbox 0x8805B0B MSG_NORMAL '"Let's get this started..\nSarah, a..."
msgbox 0x8805B72 MSG_NORMAL '"[red_fr]I really like Zigzagoon, s..."
msgbox 0x8805B95 MSG_NORMAL '"Zigzagoon, eh? Good choice. Here\n..."
msgbox 0x8805BE7 MSG_NORMAL '"[red_fr]Thank you very much, mayor..."
applymovement 0xB 0x8805C08
waitmovement 0x0
hidesprite 0xB
applymovement 0xA 0x8805CA9
waitmovement 0x0
msgbox 0x8805C15 MSG_NORMAL '"Well she's off fast..\nAnyways, Bi..."
msgbox 0x8805C4F MSG_NORMAL '"[blue_fr]I don't get to choose?"
msgbox 0x8805C6B MSG_NORMAL '"No. You get Rattata."
applymovement 0x2 0x8805CA0
msgbox 0x8805C82 MSG_NORMAL '"[blue_fr]Wow... thanks, I guess.."
applymovement 0xA 0x8805CC8
waitmovement 0x0
msgbox 0x8805CAD MSG_NORMAL '"I never liked that kid.."
msgbox 0x8805CCC MSG_NORMAL '"Alright, now Albert. Which Pokémon..."
msgbox 0x8805D17 MSG_NORMAL '"[green_fr]I would love Spinarak si..."
msgbox 0x8805D37 MSG_NORMAL '"Alright, here's your Spinarak and\..."
msgbox 0x8805D78 MSG_NORMAL '"[green_fr]Thank you sir! I'm gonna..."
applymovement 0x1 0x8805DAD
waitmovement 0x0
applymovement 0xA 0x8805DB7
waitmovement 0x0
applymovement MOVE_PLAYER 0x8805DBC
msgbox 0x8805DBF MSG_NORMAL '"Now that they're gone, I can talk\..."
msgbox 0x8805E96 MSG_YESNO '"Would you like Sneasel?"
hidesprite 0xB
hidesprite 0x1
hidesprite 0x2
compare LASTRESULT 0x1
if 0x1 goto 0x8805EB0
compare LASTRESULT 0x0
if 0x0 goto 0x8805F7D
end

'---------------
#org 0x805FDD
release
end

'---------------
#org 0x805EB0
givepokemon 0xD7 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox 0x8805F07 MSG_KEEPOPEN '"Got the Sneasel from the mayor."
waitfanfare
closeonkeypress
setflag 0x828
msgbox 0x8805F29 MSG_YESNO '"Would you like to give your\nPokém..."
compare LASTRESULT 0x1
if 0x1 goto 0x8805EEF
compare LASTRESULT 0x0
if 0x1 goto 0x8805F5B
end

'---------------
#org 0x805F7D
givepokemon 0x1F 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox 0x8805FBC MSG_KEEPOPEN '"Got the Gligar from the mayor."
waitfanfare
closeonkeypress
setflag 0x828
msgbox 0x8805F29 MSG_YESNO '"Would you like to give your\nPokém..."
compare LASTRESULT 0x1
if 0x1 goto 0x8805EEF
compare LASTRESULT 0x0
if 0x1 goto 0x8805F5B
end

'---------------
#org 0x805EEF
setvar 0x8004 0x0
call 0x8805EFF
goto 0x8805F62

'---------------
#org 0x805F5B
closeonkeypress
goto 0x8805F62

'---------------
#org 0x805EFF
fadescreen 0x1
special 0x9E
waitstate
return

'---------------
#org 0x805F62
msgbox 0x8805F70 MSG_NORMAL '"Now go [player]."
setflag 0x828
release
end


'---------
' Strings
'---------
#org 0x805826
= Mayor: Everyone under the age of\n16 please come to the middle of\lthe town! I have a very important\lannouncement to make!

#org 0x8058E2
= The reason I have called you all\nhere is because... you are all\lgoing to receive a Pokémon.

#org 0x805940
= [red_fr]Awesome!

#org 0x80594E
= [blue_fr]That's great!

#org 0x805961
= Now the reason why is a bit\nfrightening. 4 years ago in the\lregion of Hoenn there were two\lrivaling teams, Team Aqua and Team\lMagma. They both wanted to change\lthe enviroment and were very\ldangerous. There have been rumors\lof them spotted here in Regma.

#org 0x805A61
= You each need a Pokémon for\nprotection. There are more rumors\lof the teams here in Regma every\lday. I'm sorry if this is not\lmuch, but we have to do this just\lin case.

#org 0x805B0B
= Let's get this started..\nSarah, answer me this. What\lPokémon do you like more,\lZigzagoon, or Oddish?

#org 0x805B72
= [red_fr]I really like Zigzagoon, sir!

#org 0x805B95
= Zigzagoon, eh? Good choice. Here\nit is, your very own Pokémon, and\l5 Pokéballs.

#org 0x805BE7
= [red_fr]Thank you very much, mayor!

#org 0x805C15
= Well she's off fast..\nAnyways, Bill, you get a Rattata.

#org 0x805C4F
= [blue_fr]I don't get to choose?

#org 0x805C6B
= No. You get Rattata.

#org 0x805C82
= [blue_fr]Wow... thanks, I guess..

#org 0x805CAD
= I never liked that kid..

#org 0x805CCC
= Alright, now Albert. Which Pokémon\ndo you like more, Ledyba or\lSpinarak?

#org 0x805D17
= [green_fr]I would love Spinarak sir!

#org 0x805D37
= Alright, here's your Spinarak and\nyour 5 Pokéballs. Take care.

#org 0x805D78
= [green_fr]Thank you sir! I'm gonna go\nstart my adventure!

#org 0x805DBF
= Now that they're gone, I can talk\nto you. You're special, [player].\lI seee something more in you than\lI see in them, specially Bill.\lThat's why I'm gonna offer you\lstronger Pokémon. I have two here,\lSneasel and Gligar.

#org 0x805E96
= Would you like Sneasel?

#org 0x805F07
= Got the Sneasel from the mayor.

#org 0x805F29
= Would you like to give your\nPokémon a nickname?

#org 0x805FBC
= Got the Gligar from the mayor.

#org 0x805F70
= Now go [player].


'-----------
' Movements
'-----------
#org 0x8058A1
#raw 0x62 'Exclamation Mark (!)
#raw 0xFE 'End of Movements

#org 0x8058A4
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x1 'Face Up
#raw 0xFE 'End of Movements

#org 0x8058B5
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1 'Face Up
#raw 0xFE 'End of Movements

#org 0x8058C5
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0xFE 'End of Movements

#org 0x8058D1
#raw 0x1D 'Step Down (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1 'Face Up
#raw 0xFE 'End of Movements

#org 0x805C08
#raw 0x66 'Happy (^_^)
#raw 0x1D 'Step Down (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0xFE 'End of Movements

#org 0x805CA9
#raw 0x1F 'Step Left (Fast)
#raw 0x1 'Face Up
#raw 0xFE 'End of Movements

#org 0x805CA0
#raw 0x20 'Step Right (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0xFE 'End of Movements

#org 0x805CC8
#raw 0x1F 'Step Left (Fast)
#raw 0x1 'Face Up
#raw 0xFE 'End of Movements

#org 0x805DAD
#raw 0x1F 'Step Left (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0xFE 'End of Movements

#org 0x805DB7
#raw 0x1D 'Step Down (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0xFE 'End of Movements

#org 0x805DBC
#raw 0x2 'Face Left
#raw 0xFE 'End of Movements


Thanks in advanced btw :)
...
... Either my eyes are fooling me... or there are no bolded things in there...
Also, you forgot a lockall command in the beginning. :P
__________________
Coming soon...
  #9678    
Old April 24th, 2014, 07:04 PM
Dark Sneasel's Avatar
Dark Sneasel
Big Daddy in the House!
Community Supporter
 
Join Date: Jun 2013
Location: Miami, FL
Age: 14
Gender: Male
Nature: Hasty
Ha, I forgot, my bad, lemme fix the bolding.
  #9679    
Old April 24th, 2014, 08:44 PM
Le pug's Avatar
Le pug
la butt doit le sniff
Community Supporter
 
Join Date: Aug 2013
Location: Le bed
Age: 21
Gender: Male
Nature: Bold
Quote:
Originally Posted by Ninja Surskit View Post
Rewrote the script I was having trouble with, but now two people won't move.. I absolutely made sure that they are not using the "Look down" in A-Map. I seriously do not understand why the people won't move. I had made sure their numbers match, the applymovement and person event, and they still don't move.
I also made sure to have a waitmovement 0x0 after the person before them.
I have bolded the people that don't move. Oh yeah, player still doesn't move.

Spoiler:
'---------------
#org 0x71A2DC
#raw 0x2
#raw pointer 0x871A2E2
#raw 0x0

'---------------
#org 0x71A2E2
#raw word 0x4001
#raw word 0x0
#raw pointer 0x8805690
#raw word 0x0

'---------------
#org 0x805690
setvar 0x4001 0x0
msgbox 0x8805826 MSG_NORMAL '"Mayor: Everyone under the age of\n..."
applymovement MOVE_PLAYER 0x88058A1
waitmovement 0x0
applymovement MOVE_PLAYER 0x88058A4
waitmovement 0x0
applymovement 0x2 0x88058B5
waitmovement 0x0
applymovement 0xB 0x88058C5
waitmovement 0x0
applymovement 0x1 0x88058D1
waitmovement 0x0
msgbox 0x88058E2 MSG_NORMAL '"The reason I have called you all\n..."
applymovement MOVE_PLAYER 0x88058A1
waitmovement 0x0
applymovement 0x2 0x88058A1
waitmovement 0x0
applymovement 0xB 0x88058A1
waitmovement 0x0
applymovement 0x1 0x88058A1
waitmovement 0x0
msgbox 0x8805940 MSG_NORMAL '"[red_fr]Awesome!"
msgbox 0x880594E MSG_NORMAL '"[blue_fr]That's great!"
msgbox 0x8805961 MSG_NORMAL '"Now the reason why is a bit\nfrigh..."
applymovement MOVE_PLAYER 0x88058A1
applymovement 0x2 0x88058A1
applymovement 0xB 0x88058A1
applymovement 0x1 0x88058A1
waitmovement 0x0
msgbox 0x8805A61 MSG_NORMAL '"You each need a Pokémon for\nprote..."
msgbox 0x8805B0B MSG_NORMAL '"Let's get this started..\nSarah, a..."
msgbox 0x8805B72 MSG_NORMAL '"[red_fr]I really like Zigzagoon, s..."
msgbox 0x8805B95 MSG_NORMAL '"Zigzagoon, eh? Good choice. Here\n..."
msgbox 0x8805BE7 MSG_NORMAL '"[red_fr]Thank you very much, mayor..."
applymovement 0xB 0x8805C08
waitmovement 0x0
hidesprite 0xB
applymovement 0xA 0x8805CA9
waitmovement 0x0
msgbox 0x8805C15 MSG_NORMAL '"Well she's off fast..\nAnyways, Bi..."
msgbox 0x8805C4F MSG_NORMAL '"[blue_fr]I don't get to choose?"
msgbox 0x8805C6B MSG_NORMAL '"No. You get Rattata."
applymovement 0x2 0x8805CA0
msgbox 0x8805C82 MSG_NORMAL '"[blue_fr]Wow... thanks, I guess.."
applymovement 0xA 0x8805CC8
waitmovement 0x0
msgbox 0x8805CAD MSG_NORMAL '"I never liked that kid.."
msgbox 0x8805CCC MSG_NORMAL '"Alright, now Albert. Which Pokémon..."
msgbox 0x8805D17 MSG_NORMAL '"[green_fr]I would love Spinarak si..."
msgbox 0x8805D37 MSG_NORMAL '"Alright, here's your Spinarak and\..."
msgbox 0x8805D78 MSG_NORMAL '"[green_fr]Thank you sir! I'm gonna..."
applymovement 0x1 0x8805DAD
waitmovement 0x0
applymovement 0xA 0x8805DB7
waitmovement 0x0
applymovement MOVE_PLAYER 0x8805DBC
msgbox 0x8805DBF MSG_NORMAL '"Now that they're gone, I can talk\..."
msgbox 0x8805E96 MSG_YESNO '"Would you like Sneasel?"
hidesprite 0xB
hidesprite 0x1
hidesprite 0x2
compare LASTRESULT 0x1
if 0x1 goto 0x8805EB0
compare LASTRESULT 0x0
if 0x0 goto 0x8805F7D
end

'---------------
#org 0x805FDD
release
end

'---------------
#org 0x805EB0
givepokemon 0xD7 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox 0x8805F07 MSG_KEEPOPEN '"Got the Sneasel from the mayor."
waitfanfare
closeonkeypress
setflag 0x828
msgbox 0x8805F29 MSG_YESNO '"Would you like to give your\nPokém..."
compare LASTRESULT 0x1
if 0x1 goto 0x8805EEF
compare LASTRESULT 0x0
if 0x1 goto 0x8805F5B
end

'---------------
#org 0x805F7D
givepokemon 0x1F 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox 0x8805FBC MSG_KEEPOPEN '"Got the Gligar from the mayor."
waitfanfare
closeonkeypress
setflag 0x828
msgbox 0x8805F29 MSG_YESNO '"Would you like to give your\nPokém..."
compare LASTRESULT 0x1
if 0x1 goto 0x8805EEF
compare LASTRESULT 0x0
if 0x1 goto 0x8805F5B
end

'---------------
#org 0x805EEF
setvar 0x8004 0x0
call 0x8805EFF
goto 0x8805F62

'---------------
#org 0x805F5B
closeonkeypress
goto 0x8805F62

'---------------
#org 0x805EFF
fadescreen 0x1
special 0x9E
waitstate
return

'---------------
#org 0x805F62
msgbox 0x8805F70 MSG_NORMAL '"Now go [player]."
setflag 0x828
release
end


'---------
' Strings
'---------
#org 0x805826
= Mayor: Everyone under the age of\n16 please come to the middle of\lthe town! I have a very important\lannouncement to make!

#org 0x8058E2
= The reason I have called you all\nhere is because... you are all\lgoing to receive a Pokémon.

#org 0x805940
= [red_fr]Awesome!

#org 0x80594E
= [blue_fr]That's great!

#org 0x805961
= Now the reason why is a bit\nfrightening. 4 years ago in the\lregion of Hoenn there were two\lrivaling teams, Team Aqua and Team\lMagma. They both wanted to change\lthe enviroment and were very\ldangerous. There have been rumors\lof them spotted here in Regma.

#org 0x805A61
= You each need a Pokémon for\nprotection. There are more rumors\lof the teams here in Regma every\lday. I'm sorry if this is not\lmuch, but we have to do this just\lin case.

#org 0x805B0B
= Let's get this started..\nSarah, answer me this. What\lPokémon do you like more,\lZigzagoon, or Oddish?

#org 0x805B72
= [red_fr]I really like Zigzagoon, sir!

#org 0x805B95
= Zigzagoon, eh? Good choice. Here\nit is, your very own Pokémon, and\l5 Pokéballs.

#org 0x805BE7
= [red_fr]Thank you very much, mayor!

#org 0x805C15
= Well she's off fast..\nAnyways, Bill, you get a Rattata.

#org 0x805C4F
= [blue_fr]I don't get to choose?

#org 0x805C6B
= No. You get Rattata.

#org 0x805C82
= [blue_fr]Wow... thanks, I guess..

#org 0x805CAD
= I never liked that kid..

#org 0x805CCC
= Alright, now Albert. Which Pokémon\ndo you like more, Ledyba or\lSpinarak?

#org 0x805D17
= [green_fr]I would love Spinarak sir!

#org 0x805D37
= Alright, here's your Spinarak and\nyour 5 Pokéballs. Take care.

#org 0x805D78
= [green_fr]Thank you sir! I'm gonna go\nstart my adventure!

#org 0x805DBF
= Now that they're gone, I can talk\nto you. You're special, [player].\lI seee something more in you than\lI see in them, specially Bill.\lThat's why I'm gonna offer you\lstronger Pokémon. I have two here,\lSneasel and Gligar.

#org 0x805E96
= Would you like Sneasel?

#org 0x805F07
= Got the Sneasel from the mayor.

#org 0x805F29
= Would you like to give your\nPokémon a nickname?

#org 0x805FBC
= Got the Gligar from the mayor.

#org 0x805F70
= Now go [player].


'-----------
' Movements
'-----------
#org 0x8058A1
#raw 0x62 'Exclamation Mark (!)
#raw 0xFE 'End of Movements

#org 0x8058A4
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x1 'Face Up
#raw 0xFE 'End of Movements

#org 0x8058B5
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1 'Face Up
#raw 0xFE 'End of Movements

#org 0x8058C5
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0xFE 'End of Movements

#org 0x8058D1
#raw 0x1D 'Step Down (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1 'Face Up
#raw 0xFE 'End of Movements

#org 0x805C08
#raw 0x66 'Happy ()
#raw 0x1D 'Step Down (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0xFE 'End of Movements

#org 0x805CA9
#raw 0x1F 'Step Left (Fast)
#raw 0x1 'Face Up
#raw 0xFE 'End of Movements

#org 0x805CA0
#raw 0x20 'Step Right (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0xFE 'End of Movements

#org 0x805CC8
#raw 0x1F 'Step Left (Fast)
#raw 0x1 'Face Up
#raw 0xFE 'End of Movements

#org 0x805DAD
#raw 0x1F 'Step Left (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0xFE 'End of Movements

#org 0x805DB7
#raw 0x1D 'Step Down (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0xFE 'End of Movements

#org 0x805DBC
#raw 0x2 'Face Left
#raw 0xFE 'End of Movements


Thanks in advanced btw
Doubt this has any affect, but there are two parts without a waitmovement:

Spoiler:
applymovement 0x2 0x8805CA0
msgbox 0x8805C82 MSG_NORMAL '"[blue_fr]Wow... thanks, I guess.."

...

applymovement MOVE_PLAYER 0x8805DBC
msgbox 0x8805DBF MSG_NORMAL '"Now that they're gone, I can talk\..."


Is this a level script? Is there a level script on the map? (saw previous post)
Are you 100% sure it's the same person event no.'s? i know player should work regardless. Does the script play 100% through besides the walking? If it does play all the way through but no movement of other characters, usually thats indicative of wrong person event no.

Now I've had every problem there could be for a level script, trust me. And somehow I've gotten out of all of them. So I can tell you it's definitely fixable lol. I had a similar problem like this recently. I would have a level script for when you appeared in the middle of the map later in an event and if you warped to the map close to that level script event, it would freeze the character and you can't move at all or if you were walking towards that area, you'd eventually freeze when you got too close. Not sure if it's something to do with any header data or what, but what I usually like to do to rule out that it's the maps fault is I'll make a backup of the rom (for tweaking and testing purposes) then I'll duplicate the map entirely on a new map. I'm talking GreatBlock the entire map, copy over all events and try it that way. If the problem still exists then you know at least it's not the map. Because for me at least, the map has been the problem maybe 50% of the time for me, however I'm using Emerald and you FireRed so.
__________________
Need help inserting tiles into AdvanceMap to have customized tiles for your hack?
• Check out my tutorial, Inserting Tiles Into AdvanceMap For Dummies
Click here to find out how to remove clouds from the Emerald titlescreen
• Check out the Ruby rombase sound list I contributed by clicking here
  #9680    
Old April 25th, 2014, 02:27 AM
Hashtag's Avatar
Hashtag
king cook
 
Join Date: Nov 2008
Location: Salisbury, England
Age: 19
Gender: Male
Quote:
Originally Posted by Le pug View Post
Is this a level script? Is there a level script on the map? (saw previous post) Are you 100% sure it's the same person event no.'s? i know player should work regardless. Does the script play 100% through besides the walking? If it does play all the way through but no movement of other characters, usually thats indicative of wrong person event no.
Adding on to this are you sure there are no other people on the same map sharing that person event number?
__________________
#projectshinx :: moderator
axton :: #firedave :: spheal
  #9681    
Old April 25th, 2014, 02:45 AM
Dark Sneasel's Avatar
Dark Sneasel
Big Daddy in the House!
Community Supporter
 
Join Date: Jun 2013
Location: Miami, FL
Age: 14
Gender: Male
Nature: Hasty
Yeah I'm sure that they aren't sharing the person event number with anyone else. And yeah, the walking is the only thing that is wrong with the script.
  #9682    
Old April 30th, 2014, 05:59 PM
Snorlax44's Avatar
Snorlax44
 
Join Date: Jul 2013
Location: India
Gender: Male
Nature: Relaxed
Anyone Help Me
I Use Pokemon Giving Script It works But after getting pokemon it gives me again (I want to only one Pokemon Should given)
__________________
  #9683    
Old April 30th, 2014, 06:46 PM
VV's Avatar
VV
ブラック
 
Join Date: Nov 2013
Location: Beyond the Boundary
Gender: Male
Nature: Quiet
Send a message via Skype™ to VV
Quote:
Originally Posted by Snorlax44 View Post
Anyone Help Me
I Use Pokemon Giving Script It works But after getting pokemon it gives me again (I want to only one Pokemon Should given)
Use setflag, dear. It makes the event happens once.

Code:
#dynamic 0xoffset

#org @start
checkflag 0x001 <-- Sample flag
givepokemon 0x001 0x1 0x1 0x0 0x0 0x0
msgbox @1 0x6
setflag 0x001
release
end

#org @1
= Here a Bulbasaur!
Then put the flag number to the NPC. (Only if you need hidesprite in your script)

Anyways, that's not how givepokemon script should be but that works too. Take another look at Diegoisawesome's tutorial.
__________________
V.V
Closed Thread
Quick Reply

Sponsored Links
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 02:45 AM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.