View Single Post
  #5965    
Old August 3rd, 2011 (03:57 AM).
Lyzo's Avatar
Lyzo Lyzo is offline
On vacation
 
Join Date: Mar 2007
Location: The Netherlands
Age: 20
Gender: Male
Nature: Bold
Posts: 251
Send a message via Windows Live Messenger to Lyzo
Quote originally posted by HACKERXIDE:
My Info
Spoiler:
ROM:Fire Red
ROM TYPE: BPR
ROM LANGUAGE: E
ROM VERSION: 1.0


My Problem

Im trying to make a applymovement/battle script! Just like the ones when Gary battles you. The problem is that my script is not making the person i call upon to move to me and engage in battle! Instead when I walk on the script tile the game freezes. Below is my script.

Spoiler:
'-----------------------
#org 0x726643
checkflag 0x2012
showsprite 0x2
applymovement 0x2 0x872666F
waitmovement 0x0
msgbox 0x872667F '"Hey wait up!"
callstd 0x6
trainerbattle 0x1 0x15F 0x0 0x872668D 0x87266A0 0x87266B2
#raw 02
#raw pointer 0x111111FF
writebytetooffset 0x11 0xE0E0311
setbyte 0xE
writebytetooffset 0x11 0xC2FFFE11

'-----------------------
#org 0x7266B2
msgbox 0x87266CB '"Well I have to go, bye."

'-----------
' Movements
'-----------
#org 0x72666F
#raw 11 'Step Up (Normal)
#raw 11 'Step Up (Normal)
#raw 11 'Step Up (Normal)
#raw 11 'Step Up (Normal)
#raw 11 'Step Up (Normal)
#raw 11 'Step Up (Normal)
#raw 3 'Face Right
#raw E 'Step Left (Slow)
#raw E 'Step Left (Slow)
#raw E 'Step Left (Slow)
#raw E 'Step Left (Slow)
#raw 11 'Step Up (Normal)
#raw 11 'Step Up (Normal)
#raw 11 'Step Up (Normal)
#raw FE 'End of Movements


'---------
' Strings
'---------
#org 0x72667F
= Hey wait up!

#org 0x72668D
= I want to battle!

#org 0x7266A0
= Wow nice battle.

#org 0x7266CB
= Well I have to go, bye.
Exactly, it would be useful if you could post your uncompiled script. But, seeing as the script freezes right when you step on it, it might be a much simpler issue. Always when using an applymovement script tile, you should make sure to have the following settings on the tile:

This is a picture from diegoisawesome's script tutorial.

If you have that, then please post your original script!
__________________


Thank you The Blueprint !!!