Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Custom prizes at Slateport Battle Tent; Blizzard first time, Revive second time and beyond
- #freespace 0xFF
- #dynamic 0xF00000
- #org 0x2087E9
- goto @prize
- #org @prize
- checkitemroom 0x17 0x1
- compare LASTRESULT 0x1
- if 0x1 call @remove_flag
- msgbox 0x82C5D14 MSG_KEEPOPEN '"In recognition of your 3-win strea..."
- setvar 0x8004 0x5
- special 0xF7
- setvar 0x8004 0x2
- setvar 0x8005 0x0
- setvar 0x8006 0x0
- special 0xEA
- checkflag 0x11
- if 0x1 call @remove
- checkflag 0x201
- if 0x1 call @revive
- checkflag 0x201
- if 0x0 call @blizzard
- goto 0x8208861
- #org @remove_flag
- setflag 0x11
- return
- #org @remove
- removeitem 0x17 0x1
- return
- #org @revive
- checkitemroom 0x18 0x1
- compare LASTRESULT 0x0
- if 0x1 goto 0x820882A
- giveitem 0x18 0x1 0x0
- return
- #org @blizzard
- giveitem 0x12E 0x1 0x0
- setflag 0x201
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement