pokecrystal/maps/Route2NuggetHouse.asm

66 lines
1.3 KiB
NASM
Raw Normal View History

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