pokecrystal-board/maps/Route2NuggetHouse.asm

66 lines
1.3 KiB
NASM
Raw Normal View History

object_const_def ; object_event constants
2018-01-23 09:54:17 -08:00
const ROUTE2NUGGETHOUSE_FISHER
2015-11-26 21:22:14 -08:00
2018-01-23 09:54:17 -08:00
Route2NuggetHouse_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
2018-02-28 14:47:31 -08:00
Route2NuggetHouseFisherScript:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
2015-07-10 05:08:03 -07:00
checkevent EVENT_GOT_NUGGET_FROM_GUY
2018-02-28 14:47:31 -08:00
iftrue .GotNugget
writetext Route2NuggetHouseFisherText
2019-11-03 09:48:54 -08:00
promptbutton
2015-11-04 17:20:14 -08:00
verbosegiveitem NUGGET
2018-02-28 14:47:31 -08:00
iffalse .NoRoom
2015-07-10 05:08:03 -07:00
setevent EVENT_GOT_NUGGET_FROM_GUY
2018-02-28 14:47:31 -08:00
.GotNugget:
writetext Route2NuggetHouseFisherText_GotNugget
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
2018-01-23 09:54:17 -08:00
Route2NuggetHouseBookshelf:
2015-06-25 21:01:08 -07:00
; unused
jumpstd DifficultBookshelfScript
2018-02-28 14:47:31 -08:00
Route2NuggetHouseFisherText:
text "Hi! Wow, I'm glad"
line "to see you."
para "You're the first"
line "visitor I've had"
cont "in a long time."
para "I'm super-happy!"
line "Let me give you a"
cont "little present."
done
2018-02-28 14:47:31 -08:00
Route2NuggetHouseFisherText_GotNugget:
text "That's a NUGGET."
para "I can't give you"
line "any nuggets of"
para "wisdom, so that'll"
line "have to do!"
done
2018-01-23 09:54:17 -08:00
Route2NuggetHouse_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
2018-02-01 19:22:07 -08:00
warp_event 2, 7, ROUTE_2, 1
warp_event 3, 7, ROUTE_2, 1
db 0 ; coord events
db 0 ; bg events
db 1 ; object events
2018-02-28 14:47:31 -08:00
object_event 2, 4, SPRITE_FISHER, SPRITEMOVEDATA_WALK_UP_DOWN, 0, 2, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, Route2NuggetHouseFisherScript, -1