pokecrystal/maps/Route12SuperRodHouse.asm

93 lines
1.6 KiB
NASM
Raw Normal View History

object_const_def ; object_event constants
2015-11-27 05:22:14 +00:00
const ROUTE12SUPERRODHOUSE_FISHING_GURU
Route12SuperRodHouse_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
2018-03-01 18:18:51 +00:00
Route12SuperRodHouseFishingGuruScript:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2013-09-24 07:48:58 +00:00
checkevent EVENT_GOT_SUPER_ROD
2018-02-28 22:47:31 +00:00
iftrue .GotSuperRod
2018-08-19 17:56:41 +00:00
writetext OfferSuperRodText
yesorno
2018-02-28 22:47:31 +00:00
iffalse .Refused
2018-08-19 17:56:41 +00:00
writetext GiveSuperRodText
2019-11-03 17:48:54 +00:00
promptbutton
2015-11-05 01:20:14 +00:00
verbosegiveitem SUPER_ROD
2018-02-28 22:47:31 +00:00
iffalse .NoRoom
2013-09-24 07:48:58 +00:00
setevent EVENT_GOT_SUPER_ROD
2018-02-28 22:47:31 +00:00
.GotSuperRod:
2018-08-19 17:56:41 +00:00
writetext GaveSuperRodText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2018-02-28 22:47:31 +00:00
.Refused:
2018-08-19 17:56:41 +00:00
writetext DontWantSuperRodText
2015-11-25 15:16:29 +00:00
waitbutton
2018-02-28 22:47:31 +00:00
.NoRoom:
2015-11-25 15:16:29 +00:00
closetext
end
2015-06-26 04:01:08 +00:00
SuperRodHouseBookshelf:
; unused
jumpstd PictureBookshelfScript
2018-08-19 17:56:41 +00: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 17:56:41 +00: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 17:56:41 +00: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 17:56:41 +00:00
DontWantSuperRodText:
text "Huh? My own eyes"
line "deceived me?"
done
Route12SuperRodHouse_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
2018-02-02 03:22:07 +00:00
warp_event 2, 7, ROUTE_12, 1
warp_event 3, 7, ROUTE_12, 1
db 0 ; coord events
db 0 ; bg events
db 1 ; object events
2018-03-01 18:18:51 +00:00
object_event 5, 3, SPRITE_FISHING_GURU, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, Route12SuperRodHouseFishingGuruScript, -1