View Single Post
  #62    
Old December 25th, 2008 (01:08 AM). Edited December 25th, 2008 by Megiddo-san.
Megiddo-san's Avatar
Megiddo-san Megiddo-san is offline
Barium - Summer '12 Return?
 
Join Date: Dec 2007
Location: Where you least expect it
Age: 23
Gender: Male
Nature: Relaxed
Posts: 1,331
Send a message via Windows Live Messenger to Megiddo-san
[SOLVED]Game: Firered BPRE
Type: Trigger
Editor: XSE
Script: This script is supposed to allow the player to cross a canyon with a hoverboard. The game does not activate any of the movements.
Spoiler:
'-----------------------
#org 0x800267
checkflag 0x1500
if 0x1 goto 0x88002A5
msgbox 0x88003A8 '"Hello there. As you can see,\nthere..."
callstd 0x5
compare LASTRESULT 0x1
if 0x1 goto 0x88002FE
msgbox 0x880042D '"No need to be down here\nthen?"
callstd 0x2
closeonkeypress
compare PLAYERFACING 0x1
if 0x1 goto 0x880035A
compare PLAYERFACING 0x2
if 0x1 goto 0x8800367
release
end

'-----------------------
#org 0x8002A5
clearflag 0x1500
clearflag 0x830
setmaptile 0xA 0x9 0x7C 0x1
setmaptile 0xB 0x9 0x7C 0x1
setmaptile 0xF 0x1B 0xBA 0x1
setmaptile 0x10 0x1B 0xBA 0x1
setmaptile 0x11 0x1B 0xBA 0x1
setmaptile 0x12 0x1B 0x6B 0x1
special 0x8E
closeonkeypress
compare PLAYERFACING 0x1
if 0x1 goto 0x8800374
compare PLAYERFACING 0x2
if 0x1 goto 0x8800381
release
end

'-----------------------
#org 0x8002FE
special 0x157
setflag 0x830
setmaptile 0xA 0x9 0x7C 0x0
setmaptile 0xB 0x9 0x7C 0x0
setmaptile 0xF 0x1B 0xBA 0x0
setmaptile 0x10 0x1B 0xBA 0x0
setmaptile 0x11 0x1B 0xBA 0x0
setmaptile 0x12 0x1B 0x6B 0x0
special 0x8E
setflag 0x1500
closeonkeypress
compare PLAYERFACING 0x1
if 0x1 goto 0x880038E
compare PLAYERFACING 0x2
if 0x1 goto 0x880039B
release
end

'-----------------------
#org 0x80035A
applymovement MOVE_PLAYER 0x880044D
waitmovement 0x0
release
end

'-----------------------
#org 0x800367
applymovement MOVE_PLAYER 0x8800450
waitmovement 0x0
release
end

'-----------------------
#org 0x800374
applymovement MOVE_PLAYER 0x8800453
waitmovement 0x0
release
end

'-----------------------
#org 0x800381
applymovement MOVE_PLAYER 0x8800456
waitmovement 0x0
release
end

'-----------------------
#org 0x80038E
applymovement MOVE_PLAYER 0x8800459
waitmovement 0x0
release
end

'-----------------------
#org 0x80039B
applymovement MOVE_PLAYER 0x880045D
waitmovement 0x0
release
end


'-----------
' Movements
'-----------
#org 0x80044D
#raw 11 'Step Up (Normal)
#raw FE 'End of Movements

#org 0x800450
#raw 10 'Step Down (Normal)
#raw FE 'End of Movements

#org 0x800453
#raw 10 'Step Down (Normal)
#raw FE 'End of Movements

#org 0x800456
#raw 11 'Step Up (Normal)
#raw FE 'End of Movements

#org 0x800459
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw FE 'End of Movements

#org 0x80045D
#raw 11 'Step Up (Normal)
#raw 11 'Step Up (Normal)
#raw FE 'End of Movements


'---------
' Strings
'---------
#org 0x8003A8
= Hello there. As you can see,\nthere is a canyon here. I see\pyou have a hoverboard.\nAre you going to use it\pto traverse this gap?

#org 0x80042D
= No need to be down here\nthen?
[/SOLVED]

__________________

Hashire! Asu e tsudzuku shinka no micha wa