View Single Post
Old September 18th, 2007 (8:07 AM).
Sergio--'s Avatar
Sergio-- Sergio-- is offline me Serg!o...
    Join Date: Jun 2005
    Location: Madrid
    Posts: 101
    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)

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


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

    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.