View Single Post
  #7132    
Old July 26th, 2012, 03:11 AM
tajaros's Avatar
tajaros
Hi I'm dawg
 
Join Date: Apr 2012
Location: Philippines
Age: 15
Gender: Male
Nature: Timid
Send a message via Windows Live Messenger to tajaros
Quote:
Originally Posted by ChuckNadum View Post
Game: Fire Red
Type: Movement/ Speech Event
Editor: XSE
Script:
Spoiler:
#dynamic 0x

#org @start
checkflag 0x8
compare LASTRESULT 0x0
if 0x1 goto @begin
end


#org @begin
setflag 0x8
msgbox @1 0x4
closeonkeypress
applymovement 0xFF @move0
waitmovement 0x0
applymovement 0x04 @move1
waitmovement 0x0
msgbox @2 0x4
closeonkeypress
applymovement 0x04 @move2
applymovement 0xFF @move3
waitmovement 0x0
setdooropened 0x8 0x13
doorchange
applymovement 0x04 @move4
applymovement 0xFF @move5
waitmovement 0x0
hidesprite 0x04
warp 0x4 0x3 0x0 0x0 0x0
setdoorclosed 0x8 0x13
doorchange
release
end

#org @1
= Frost: [player]! There you are!

#org @2
= Frost: Come with me to the lab,\nyour Eevee is ready to see you!

#org @move0
#raw 0x3
#raw 0xFE

#org @move1
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0xFE

#org @move2
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x10
#raw 0x10
#raw 0x13
#raw 0x10
#raw 0x13
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0xFE

#org @move3
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x10
#raw 0x10
#raw 0x13
#raw 0x10
#raw 0x13
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0xFE

#org @move4
#raw 0x11
#raw 0xFE

#org @move5
#raw 0x12
#raw 0x11
#raw 0xFE


Spent 5+ Hours trying to get it to work, Flawless execution. Everything is perfect. But once you leave the house, the sprite is still there and the script can be done an unlimited amount of times.
(Also, it freezes the game when 0x1 is set to 0x0 in the "if" line)
Um what's with the compare LASTRESULT? you can just remove that and make if or condition 0x0 and did you put the flag on the person ID? try putting a flag so the Person won't appear again. And put the warp code on the last part since the rest of the script won't continue because you will be warped...

And note LASTRESULT is replaced by 0x800D in the latest XSE version
__________________