Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #org 0x8A80727
- '-----------------------------------
- lock
- faceplayer
- textcolor BLUE
- checkflag 0x1035
- if true jump 0x8A80764 ' Flag is set
- countpokemon
- compare LASTRESULT 0x6
- if == jump 0x8A8076E ' Equal To
- showmoney 0x0 0x0
- msgbox 0x8A807F5
- callstd MSG_YESNO ' Yes/No message
- compare LASTRESULT YES
- if == jump 0x8A80778 ' Equal To
- hidemoney 0x0 0x0
- msgbox 0x8A80854
- callstd MSG_NOCLOSE ' Non-closing message
- release
- ' Release commands close any open messages
- end
- #org 0x8A80764
- '-----------------------------------
- msgbox 0x8A80869
- callstd MSG_NOCLOSE ' Non-closing message
- release
- ' Release commands close any open messages
- end
- #org 0x8A8076E
- '-----------------------------------
- msgbox 0x8A80958
- callstd MSG_NOCLOSE ' Non-closing message
- release
- ' Release commands close any open messages
- end
- #org 0x8A80778
- '-----------------------------------
- checkmoney 0x1388 0x0 0x0
- compare LASTRESULT 0x0
- if == jump 0x8A807D6 ' Equal To
- sound 0x5F
- paymoney 0x1388 0x0 0x0
- updatemoney 0x0 0x0 0x0
- addpokemon RAPIDASH 87 NONE 0x0 0x0 0x0
- fanfare 0x13E
- textcolor GRAY
- message 0x8A809BD
- showmsg
- waitfanfare
- hidemoney 0x0 0x0
- msgbox 0x8A809D3
- callstd MSG_YESNO ' Yes/No message
- compare LASTRESULT NO
- if == jump 0x8A80764 ' Equal To
- call 0x8A807E3
- setflag 0x1035
- textcolor BLUE
- jump 0x8A80764
- #org 0x8A807D6
- '-----------------------------------
- msgbox 0x8A80A37
- callstd MSG_NOCLOSE ' Non-closing message
- hidemoney 0x0 0x0
- release
- end
- #org 0x8A807E3
- '-----------------------------------
- countpokemon
- subtractvar LASTRESULT 0x1
- copyvar 0x8004 LASTRESULT
- fadescreen FADEOUT_BLACK
- special 0xA1
- waitspecial
- return
- #org 0x8A807F5
- =
- #org 0x8A80854
- =
- #org 0x8A80869
- =
- #org 0x8A80958
- =
- #org 0x8A809BD
- =
- #org 0x8A809D3
- =
- #org 0x8A80A37
- =
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement