Thread: [Resource] ROM Hacking Resources
View Single Post
  #170    
Old February 27th, 2011 (8:10 AM). Edited February 27th, 2011 by Ho-oh 112.
Ho-oh 112's Avatar
Ho-oh 112 Ho-oh 112 is offline
Advance Scripter
     
    Join Date: Feb 2011
    Age: 21
    Gender: Male
    Nature: Hasty
    Posts: 311
    This was made using XSE and Firered

    Spoiler:

    #org 0xoffset
    #dynamic 0x800000
    lock
    msgbox @minetext MSG_NORMAL
    random 0x9
    compare LASTRESULT 0x1
    if 0x0 goto @mine1
    compare LASTRESULT 0x1
    if 0x1 goto @mine2
    compare LASTRESULT 0x1
    if 0x2 goto @mine3
    compare LASTRESULT 0x1
    if 0x3 goto @mine4
    compare LASTRESULT 0x1
    if 0x4 goto @mine5
    compare LASTRESULT 0x1
    if 0x5 goto @mine6
    compare LASTRESULT 0x1
    if 0x6 goto @mine7
    compare LASTRESULT 0x1
    if 0x7 goto @mine8
    compare LASTRESULT 0x1
    if 0x8 goto @mine9

    #org @mine1
    msgbox @none MSG_NORMAL
    release
    end

    #org @mine2
    giveitem 0xi 0xq 0x1 (choose your own item and quanity)
    release
    end

    #org @mine3
    giveitem 0xi 0xq 0x1 (choose your own item and quanity)
    release
    end

    #org @mine4
    giveitem 0xi 0xq 0x1 (choose your own item and quanity)
    release
    end

    #org @mine5
    giveitem 0xi 0xq 0x1 (choose your own item and quanity)
    release
    end

    #org @mine6
    giveitem 0xi 0xq 0x1 (choose your own item and quanity)
    release
    end

    #org @mine7
    giveitem 0xi 0xq 0x1 (choose your own item and quanity)
    release
    end

    #org @mine8
    giveitem 0xi 0xq 0x1 (choose your own item and quanity)
    release
    end

    #org @mine9
    msgbox @none MSG_NORMAL
    release
    end

    #org @none
    = Text for nothing found here.
    release
    end

    #org @minetext
    = Text for mining.
    release
    end


    give credit if used please. (should work on any rom and on the latest XSE version. please find own offset and use your own items those items won't work.)