View Single Post
  #6330    
Old December 20th, 2011 (11:07 PM).
DrFuji's Avatar
DrFuji DrFuji is offline
Helfen, Wehren, Heilen
Crystal Tier
 
Join Date: Sep 2009
Location: Downia-upside
Age: 22
Gender: Male
Nature: Jolly
Posts: 1,322
Quote originally posted by Totaldile:
I'm having quite a bit of trouble compiling my script to my ROM. When I click the compile button, it should be written to the ROM, I'm pretty sure, but the script isn't written at all. But when this occurs, I would assume the game would freeze. The game doesn't freeze, it just plays the button click noise you normally hear when talkign to a person, so I'm inclined to belive the script is being compiled and I am merely typing my script wrong. Some help would be greatly appreciated ^-^!
I've had this problem in the past, and have solved it, but I cannot for the life of me quite remember how.
I'm using a FireRed ROM, and using XSE.

This is my script:
Spoiler:

#dynamic 0x3B4D84
#org @start
lock
faceplayer
msgbox @1 0x6
cry 0x6 0x0
release
end
#org @1
= Lulululu!
There isn't anything 'wrong' with your script that would stop it from working, but you could clean it up a bit and insert it in a far better offset. Hopefully it helps, but like I said, nothing in your script should be damaging enough to stop it from working.

Code:
#dynamic 0x800000 // A far better offset to begin inserting scripts

#org @start
msgbox @1 0x2 // Automatically uses the lock and faceplayer commands
cry 0x6 0x0
waitcry // The script will finish once the cry has ended
release
end

#org @1
= Lulululu!
__________________