Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include stdpoke.rbh
- #freespace 0xFF
- #dynamic 0xF00000
- #org @start
- checkflag 0x207
- if 0x1 goto @nop
- compare 0x4023 0x0
- if 0x1 call @mudkip_egg
- compare 0x4023 0x1
- if 0x1 call @treecko_egg
- compare 0x4023 0x2
- if 0x1 call @torchic_egg
- compare LASTRESULT 0x0
- if 0x1 goto @nick1
- compare LASTRESULT 0x1
- if 0x1 goto @nick2
- goto 0x8273811
- #org @mudkip_egg
- giveegg PKMN_MUDKIP
- return
- #org @treecko_egg
- giveegg PKMN_TREECKO
- return
- #org @torchic_egg
- giveegg PKMN_TORCHIC
- return
- #org @nick1
- call @received
- goto @release
- #org @nick2
- call @received
- call @box
- goto @release
- #org @received
- fanfare 0x172
- preparemsg @found_egg
- waitmsg
- waitfanfare
- return
- #org @box
- bufferboxname 0x0 0x4036
- bufferstring 0x1 @the_egg
- checkflag 0x8AB
- if 0x0 call 0x82737BB
- checkflag 0x8AB
- if 0x1 call 0x82737E6
- return
- #org @release
- setflag 0x207
- release
- end
- #org @nop
- nop1
- #org @the_egg
- = The EGG
- #org @found_egg
- = [player] found an EGG!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement