View Single Post
  #22155    
Old July 21st, 2012, 03:40 PM
CrystalStatic's Avatar
CrystalStatic
Time for real life...
 
Join Date: Nov 2011
Location: US
Gender: Male
Nature: Quiet
Quote:
Originally Posted by Vandette View Post
Thanks for your response! Here's a copy of the script I'm using. I realize that it does have errors (which I noticed when I ran it out of the person event, but I'd like to get the script tile to work before I do that.)

Spoiler:

'---------------
#org 0x71A400
goto 0x871A47A

'---------------
#org 0x71A47A
textcolor 0x0
pause 0x1E
playsong 0x12E 0x0
msgbox 0x871A4F0 MSG_KEEPOPEN '"???: Hey you!"
closeonkeypress
applymovement 0x2 0x871A68F
waitmovement 0x0
msgbox 0x871A501 MSG_KEEPOPEN '"ALEKO: I'm glad that\nI ran into y..."
closeonkeypress
givepokemon 0x85 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox 0x871A589 MSG_KEEPOPEN '"ALEKO gives you an EEVEE!"
waitfanfare
closeonkeypress
setflag 0x828
msgbox 0x871A5A5 MSG_YESNO '"Would you like to give a\nnickname..."
compare LASTRESULT 0x1
if 0x1 call 0x871A4E9
msgbox 0x871A5D3 MSG_NORMAL '"ALEKO: I know that you've\nalways ..."
applymovement 0x2 0x871A69B
waitmovement 0x0
releaseall
end

'---------------
#org 0x71A4E9
call 0x81A74EB
return

'---------------
#org 0x1A74EB
showbox 0x1A 0x8 0x9 0x4
goto 0x81A7507

'---------------
#org 0x1A7507
special 0x17F
return


'---------
' Strings
'---------
#org 0x71A4F0
= ???: Hey you!

#org 0x71A501
= ALEKO: I'm glad that\nI ran into you before\nI head off to the Pokemon\nLeague for my internship.\nI got you something to\nremember me by.

#org 0x71A589
= ALEKO gives you an EEVEE!

#org 0x71A5A5
= Would you like to give a\nnickname to EEVEE?

#org 0x71A5D3
= ALEKO: I know that you've\nalways wanted a Glaceon,\nbut Ice Stones are\nreally hard to come by\nthese days.\nI'm going to be late\nif I don't leave now\nso I gotta run.\n


'-----------
' Movements
'-----------
#org 0x71A68F
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x66 'Happy ()
#raw 0xFE 'End of Movements

#org 0x71A69B
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x60 'Hide
#raw 0xFE 'End of Movements


So that's it. The script event tile is on the Route 1 map, so it's not activating as soon as I enter a new map, no. I just want it to activate once this particular tile is stepped on, and that's not happening.
Okay, try this:

You need a "lockall" command at the beginning of your script. (Just before "textcolor 0x0") Also, there needs to be a "setvar 0x4050 0x1" command just before your "releaseall" command at the end of your script.

Your AdvancedMap settings are correct, but since you used 4050 for the var number, you also need to insert a "setvar 0x4050 0x1" command at the end of your script. This will make it so that when the script ends, it will be removed from the game forever.

Quote:
Originally Posted by Matheus290 View Post
Guys, I need help with two problems.

First: I created a new map, 1.123. I connected it with the existing map 1.113 (both are inside the folder "ICEFALL CAVE"). Done correctly, the 1.123 with 1.113 and 1.113 with 1.123. Went to test in VBA. When I move the map 1.113 to 1.123, the character goes through normally. However, when I went over 1.123 for 1.113, he did not return. It is as if the map were not connected. Tried to turn the maps by Advance 1.92 and 1.95 Map and none worked. How to solve this problem?

Second: This second map that I created, the character does not run. Just walk or use the bike. But if I press the B button (GBA) the character does not run. How to resolve?

Thank you!
For the first problem:

Where exactly does the player end up after they go from 1.123 to 1.113? Does the game freeze or does the player get warped to a random map or something?

For the second problem:

Go to the second map's header. Under "Map Options" and "Type", what does it say? If it says "Inside", change it to something else. Any map with an "Inside" typing will disable the run feature for that specific map.

Last edited by CrystalStatic; July 21st, 2012 at 03:49 PM. Reason: Your double post has been automatically merged.