pokecrystal-board/maps/Route12SuperRodHouse.asm

92 lines
1.6 KiB
NASM
Raw Normal View History

object_const_def
2015-11-26 21:22:14 -08:00
const ROUTE12SUPERRODHOUSE_FISHING_GURU
Route12SuperRodHouse_MapScripts:
def_scene_scripts
def_callbacks
2018-03-01 10:18:51 -08:00
Route12SuperRodHouseFishingGuruScript:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
2013-09-24 00:48:58 -07:00
checkevent EVENT_GOT_SUPER_ROD
2018-02-28 14:47:31 -08:00
iftrue .GotSuperRod
2018-08-19 10:56:41 -07:00
writetext OfferSuperRodText
yesorno
2018-02-28 14:47:31 -08:00
iffalse .Refused
2018-08-19 10:56:41 -07:00
writetext GiveSuperRodText
2019-11-03 09:48:54 -08:00
promptbutton
2015-11-04 17:20:14 -08:00
verbosegiveitem SUPER_ROD
2018-02-28 14:47:31 -08:00
iffalse .NoRoom
2013-09-24 00:48:58 -07:00
setevent EVENT_GOT_SUPER_ROD
2018-02-28 14:47:31 -08:00
.GotSuperRod:
2018-08-19 10:56:41 -07:00
writetext GaveSuperRodText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2018-02-28 14:47:31 -08:00
.Refused:
2018-08-19 10:56:41 -07:00
writetext DontWantSuperRodText
2015-11-25 07:16:29 -08:00
waitbutton
2018-02-28 14:47:31 -08:00
.NoRoom:
2015-11-25 07:16:29 -08:00
closetext
end
SuperRodHouseBookshelf: ; unreferenced
jumpstd PictureBookshelfScript
2018-08-19 10:56:41 -07:00
OfferSuperRodText:
text "I'm the FISHING"
line "GURU's younger"
cont "brother."
para "I can see that you"
line "like fishing."
para "There's no doubt"
line "in my mind at all!"
para "So? I know I'm"
line "right."
done
2018-08-19 10:56:41 -07:00
GiveSuperRodText:
text "Yes, yes. Just as"
line "I thought!"
para "Here, fishing fan!"
line "Take this--it's a"
cont "SUPER ROD."
done
2018-08-19 10:56:41 -07:00
GaveSuperRodText:
text "Try your hand at"
line "fishing wherever"
cont "there is water."
para "Remember--you can"
line "catch different"
para "#MON using"
line "different RODS."
done
2018-08-19 10:56:41 -07:00
DontWantSuperRodText:
text "Huh? My own eyes"
line "deceived me?"
done
Route12SuperRodHouse_MapEvents:
db 0, 0 ; filler
def_warp_events
2018-02-01 19:22:07 -08:00
warp_event 2, 7, ROUTE_12, 1
warp_event 3, 7, ROUTE_12, 1
def_coord_events
def_bg_events
def_object_events
2018-03-01 10:18:51 -08:00
object_event 5, 3, SPRITE_FISHING_GURU, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, Route12SuperRodHouseFishingGuruScript, -1