ROM Hacking Need a helping hand? You can get help on any ROM Hacking-related problems or questions you have here.

TrollandToad.com
Closed Thread
 
Thread Tools
  #9676    
Old April 24th, 2014 (1:46 PM). Edited April 24th, 2014 by Danny0317.
Danny0317's Avatar
Danny0317 Danny0317 is offline
Fluorite's back, brah
  • Gold Tier
 
Join Date: Jun 2013
Location: Miami, FL
Age: 17
Gender: Male
Nature: Hasty
Posts: 1,075
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
__________________

Relevant Advertising!

  #9677    
Old April 24th, 2014 (6:47 PM).
Teh Blazer's Avatar
Teh Blazer Teh Blazer is offline
Divider of Zero
     
    Join Date: Feb 2009
    Location: 'MERICA
    Age: 22
    Gender: Male
    Nature: Relaxed
    Posts: 772
    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
    __________________
    Being a hero is overrated anyways
      #9678    
    Old April 24th, 2014 (7:04 PM).
    Danny0317's Avatar
    Danny0317 Danny0317 is offline
    Fluorite's back, brah
    • Gold Tier
     
    Join Date: Jun 2013
    Location: Miami, FL
    Age: 17
    Gender: Male
    Nature: Hasty
    Posts: 1,075
    Ha, I forgot, my bad, lemme fix the bolding.
    __________________
      #9679    
    Old April 24th, 2014 (8:44 PM).
    Le pug's Avatar
    Le pug Le pug is offline
    Creator of Pokémon: Discovery / Fat Kid
    • Crystal Tier
     
    Join Date: Aug 2013
    Location: Le bed
    Age: 24
    Gender: Male
    Nature: Bold
    Posts: 784
    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.
    __________________







    /// Pokémon: Discovery
    /// Pokémon: Fat Kid
    /// Tile Insertion Tutorial For AdvanceMap
    /// Pokémon Emerald Specials Resource Thread
    /// Pokémon Emerald Decapitalization Patch
    /// Emerald Titlescreen Cloud Removal Tutorial
    /// Tutorial For Fixing Any ROM-related Bug
      #9680    
    Old April 25th, 2014 (2:27 AM).
    Logan's Avatar
    Logan Logan is offline
    • Platinum Tier
     
    Join Date: Nov 2008
    Location: Salisbury, England
    Age: 22
    Gender: Male
    Nature: Sassy
    Posts: 10,034
    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?
    __________________
    Wait, I saw bare kicks, saw bare clothes
    Said psyduck that, I can't wear those
    I don't like them, they're not my ting
    They went silent, they're all weirdos
      #9681    
    Old April 25th, 2014 (2:45 AM).
    Danny0317's Avatar
    Danny0317 Danny0317 is offline
    Fluorite's back, brah
    • Gold Tier
     
    Join Date: Jun 2013
    Location: Miami, FL
    Age: 17
    Gender: Male
    Nature: Hasty
    Posts: 1,075
    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 (5:59 PM).
    Abhishek Abhishek is offline
       
      Join Date: Jul 2013
      Location: India
      Gender: Male
      Nature: Relaxed
      Posts: 213
      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)
      __________________
      Currently
      Completed Pokemon Korosu
        #9683    
      Old April 30th, 2014 (6:46 PM).
      Sniper's Avatar
      Sniper Sniper is offline
      ふゆかい
         
        Join Date: Nov 2013
        Location: Philippines
        Gender: Male
        Nature: Quiet
        Posts: 1,453
        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.
        __________________


        Closed Thread

        Quick Reply

        Join the conversation!

        Create an account to post a reply in this thread, participate in other discussions, and more!

        Create a PokéCommunity Account

        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

        Forum Jump


        All times are GMT -8. The time now is 2:04 AM.