View Single Post
  #53    
Old March 31st, 2013 (10:50 PM). Edited April 1st, 2013 by BlackWhiteRobin.
BlackWhiteRobin's Avatar
BlackWhiteRobin BlackWhiteRobin is offline
     
    Join Date: Sep 2012
    Age: 19
    Gender: Male
    Nature: Quirky
    Posts: 537
    For anyone who will try to do this, I modified the script a bit for errors.
    Code:
    #org @Main
    lock
    checkitem 0x800E 1
    compare LASTRESULT 0x1
    if b_>= goto @ThereAreMore
    msgbox @RepelExpired 0x3
    release
    end
    
    #org @ThereAreMore
    msgbox @UseAnother 0x5
    closeonkeypress
    compare LASTRESULT 0x1
    if b_true goto @CallASM
    end
    
    #org @CallASM
    callasm 0x081BFB69
    end
    
    #org @RepelExpired
    = Repel's effect wore off.
    
    #org @UseAnother
    = Repel's effect wore off...\nUse another?
    And here's the compiled version of it
    Code:
    6A 47 0E 80 01 00 21 0D 80 01 00 06 04 6C A2 71 08 0F 00 89 A2 71 08 09 03 6C 02 FF 0F 00 A4 A2 71 08 09 05 68 21 0D 80 01 00 06 01 82 A2 71 08 02 FF 23 69 FB 1B 08 02 FF CC D9 E4 D9 E0 B4 E7 00 D9 DA DA D9 D7 E8 00 EB E3 E6 D9 00 E3 DA DA AD FF 00 FF CC D9 E4 D9 E0 B4 E7 00 D9 DA DA D9 D7 E8 00 EB E3 E6 D9 00 E3 DA DA AD AD AD FE CF E7 D9 00 D5 E2 E3 E8 DC D9 E6 AC FF 00 FF FF FF FF
    __________________

    Reply With Quote