View Single Post
  #251    
Old January 12th, 2009 (11:49 AM).
Andryandrew Andryandrew is offline
Italian Asm Hacker
 
Join Date: Mar 2007
Age: 21
Gender:
Nature: Timid
Posts: 117
Quote originally posted by Pokepal17:
Is it Fire Red and is the town built on Pallet town? Coz it has a level script that moves a NPC to where a trainer tips sign was in the original game.
_______________________________________________________________________________________________________

Need help

ROM: Fire Red
Version: BPRE
Script Editor: XSE
Script: Level Script

Spoiler:

'---------------
#org 0x800000
lock
checkflag 0x1000
if 0x0 call 0x880000D
release
end
'---------------
#org 0x80000D
applymovement MOVE_PLAYER 0x8800024
waitmovement 0x0
msgbox 0x8800028 MSG_NORMAL '"I'm happy!"
setflag 0x1000
return

'---------
' Strings
'---------
#org 0x800028
= I'm happy!

'-----------
' Movements
'-----------
#org 0x800024
#raw 0x63 'Question Mark (?)
#raw 0x66 'Happy ()
#raw 0xFE 'End of Movements


A-map settings

Spoiler:


Please note: This is my first level script. I am not completely sure on how to make them. I was given some brief details about them and I didn't understand so by looking at level scripts in a ROM I tried this one as a test. Also please explain any corrections made and if possible, please can you give a link to a tutorial on level scripts. Thanks in advance.
A tutorial can be found HERE (at the end of the first post)... However, you have to put the value "02 validates values, load handler at..." and compile the "flag" and "value" box in A. Map
__________________

Sorry for my bad English... I'm Italian
Anybody that is a GBA ASM hacker is cool!
I'm a GBA ASM hacker --> I'm cool :D

Made Day-Night Routine! You can find the thread HERE