pokecrystal-board/maps/Route2NuggetHouse.asm

66 lines
1.3 KiB
NASM
Raw Normal View History

2018-01-31 11:38:45 -05:00
const_def 2 ; object constants
2018-01-23 12:54:17 -05:00
const ROUTE2NUGGETHOUSE_FISHER
2015-11-27 00:22:14 -05:00
2018-01-23 12:54:17 -05:00
Route2NuggetHouse_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
2018-02-28 17:47:31 -05:00
Route2NuggetHouseFisherScript:
faceplayer
2015-12-09 18:25:44 -05:00
opentext
2015-07-10 06:08:03 -06:00
checkevent EVENT_GOT_NUGGET_FROM_GUY
2018-02-28 17:47:31 -05:00
iftrue .GotNugget
writetext Route2NuggetHouseFisherText
2015-11-29 22:29:45 -05:00
buttonsound
2015-11-04 20:20:14 -05:00
verbosegiveitem NUGGET
2018-02-28 17:47:31 -05:00
iffalse .NoRoom
2015-07-10 06:08:03 -06:00
setevent EVENT_GOT_NUGGET_FROM_GUY
2018-02-28 17:47:31 -05:00
.GotNugget:
writetext Route2NuggetHouseFisherText_GotNugget
2015-11-25 10:16:29 -05:00
waitbutton
2018-02-28 17:47:31 -05:00
.NoRoom:
2015-11-25 10:16:29 -05:00
closetext
end
2018-01-23 12:54:17 -05:00
Route2NuggetHouseBookshelf:
2015-06-25 22:01:08 -06:00
; unused
jumpstd difficultbookshelf
2018-02-28 17:47:31 -05: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 17:47:31 -05: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 12:54:17 -05:00
Route2NuggetHouse_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
2018-02-01 22:22:07 -05: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 17:47:31 -05:00
object_event 2, 4, SPRITE_FISHER, SPRITEMOVEDATA_WALK_UP_DOWN, 0, 2, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, Route2NuggetHouseFisherScript, -1