Results 1 to 5 of 5

Threaded View

  1. #1
    Join Date
    Feb 2008
    Location
    New York
    Posts
    3,114
    Points
    3,022,110.34
    Rep Power
    229

    Default subroutine help?

    ok, so i tryed subroutine-ing a gun mod it fails lol

    thats my code:
    Lui t0, $0083
    Lw t0, $FBE8(t0)
    Lui t1, $0079
    Lui t2, $0083
    Lw t2, $FBF0(t2)
    Lui t3, $0079

    and this is it in nitePR form(if thats wut its called =p)

    #Flamethrower subroutine
    0x00449BD0 0x0E2001C0
    0x00000700 0x3c080083
    0x00000704 0x8d08fbe8
    0x00000708 0x3c090079
    0x0000070C 0x3c0a0083
    0x00000710 0x8d4afbf0
    0x00000714 0x3c0b0079
    0x00000718 0x03e00008

    ------
    EDIT:

    Lui t0, $0083
    Lui t1, $FBE8
    Sw t1, $0079(t0)
    Lui t2, $0083
    Lui t3, $FBF0
    Sw t3, $0079(t2)

    #flamethrower subroutine
    0x00565f30 0x0E2001C0
    0x00000700 0x3c080083
    0x00000704 0x3c09fbe8
    0x00000708 0xad090079
    0x0000070C 0x3c0a0083
    0x00000710 0x3c0bfbf0
    0x00000714 0xad4b0079
    0x00000718 0x03e00008
    Last edited by Scruffy120; 08-22-2008 at 10:35 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts