View Single Post
  #120    
Old April 20th, 2009, 12:36 PM
HackinJohn's Avatar
HackinJohn
FireRed ROM Hacker
 
Join Date: Mar 2007
Location: Olivine City, Johto
Gender:
Nature: Quirky
Seeing as this script has been giving me a nightmare for the last two days, would someone like to offer any assistance? ;D

Before I go and show it off, here's what I'm *trying* to make happen:

Player comes through warp, and as soon as they step out of the cave, he is noticed by the leader of an evil organization. The leader walks over to him, talks to him, and then scares the player out of the way, and he disappears through the warp the player just came through.

Here's the script: (I'm sure there's plenty wrong with it.)

Code:
#dynamic 0x2FB2F7

#org @start
lock
faceplayer
checkflag 0x200
if 0x1 goto @done
setflag 0x200
applymovement 0x01 @move
waitmovement 0x0
msgbox @monologue 0x6
applymovement 0xFF @move2
waitmovement 0x0
applymovement 0x01 @move3
waitmovement 0x00
hidesprite 0x01
release
end

#org @done
release
end

#org @move
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x00
#raw 0x11
#raw 0x03
#raw 0x13
#raw 0x01
#raw 0xFE

#org @monologue
= I heard from one of my minors that\nsomeone had been interfering, and\lI guess, no doubt, that he or she\lwas heading up the mountain,\ltrying to get into the next city.\pI figured I would try to head them\noff by running to the peak.\pBut I never imagined that he or\nshe would be so young.\pAnd seeing as this would not be a\nfair fight, I will let you go this\ltime.\pBut we shall meet again.

#org @move2
#raw 0x62
#raw 0x50
#raw 0xFE

#org @move3
#raw 0x1E
#raw 0x1E
#raw 0x60
#raw 0xFE
Any kind of help would be more than magnificent. :D
Spoiler: