View Single Post
  #28    
Old September 18th, 2007, 08:07 AM
Sergio--'s Avatar
Sergio--
...call me Serg!o...
 
Join Date: Jun 2005
Location: Madrid
Gender:
Quote:
Originally Posted by Teh Baro View Post
Anyone knows a way to check if you are mounting the bike (a flag for it?) or a special to dismount the bike (no, 0x157 doesn't work the other way round)
Hey baro!
I don't know if there it's coded something for dismount the bike.
For check if you're in the bike, I used this:

#org 0x
special2 LASTRESULT 0xE3
compare LASTRESULT 0x2
if 0x1 call 0x(MACH BIKE)
compare LASTRESULT 0x0
if 0x1 jump 0x(BY FOOT)
(ACRO BIKE)
end

#org 0x(MACH BIKE)
msgbox '"¡Comienza la carrera..."

end

#org 0x(BY FOOT)
msgbox '"¡No te acerques al b..."
end

This is tested in ruby, I suppose you're asking for FR, but well, try it.
Maybe you'll need to 'compare' the 0x1 for be in the FR bike, like in FR there is only one.
__________________