pokecrystal/maps/SaffronPokecenter1F.asm

129 lines
2.9 KiB
NASM
Raw Normal View History

object_const_def
2015-11-27 05:22:14 +00:00
const SAFFRONPOKECENTER1F_NURSE
const SAFFRONPOKECENTER1F_TEACHER
const SAFFRONPOKECENTER1F_FISHER
const SAFFRONPOKECENTER1F_YOUNGSTER
SaffronPokecenter1F_MapScripts:
def_scene_scripts
def_callbacks
2018-03-01 18:18:51 +00:00
SaffronPokecenter1FNurseScript:
jumpstd PokecenterNurseScript
2018-03-01 18:18:51 +00:00
SaffronPokecenter1FTeacherScript:
2023-07-27 00:59:00 +00:00
special CheckMobileAdapterStatusSpecial
2015-11-16 21:01:45 +00:00
iftrue .mobile
2018-08-19 17:56:41 +00:00
jumptextfaceplayer SaffronPokecenter1FTeacherText
.mobile
2018-08-19 17:56:41 +00:00
jumptextfaceplayer SaffronPokecenter1FTeacherMobileText
2018-03-01 18:18:51 +00:00
SaffronPokecenter1FFisherScript:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2013-09-24 07:48:58 +00:00
checkevent EVENT_RETURNED_MACHINE_PART
2015-11-16 21:01:45 +00:00
iftrue .SolvedKantoPowerCrisis
2018-08-19 17:56:41 +00:00
writetext SaffronPokecenter1FFisherText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-11-16 21:01:45 +00:00
.SolvedKantoPowerCrisis:
2018-08-19 17:56:41 +00:00
writetext SaffronPokecenter1FFisherReturnedMachinePartText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2017-12-18 00:48:04 +00:00
SaffronPokecenter1FYoungsterScript:
jumptextfaceplayer SaffronPokecenter1FYoungsterText
2018-08-19 17:56:41 +00:00
SaffronPokecenter1FTeacherText:
text "What are JOHTO's"
line "#MON CENTERS"
cont "like?"
para "…Oh, I see. So"
line "they're not much"
para "different from the"
line "ones in KANTO."
para "I can go to JOHTO"
line "without worrying,"
cont "then!"
done
2018-08-19 17:56:41 +00:00
SaffronPokecenter1FTeacherMobileText:
text "What are JOHTO's"
line "#MON CENTERS"
cont "like?"
para "…Oh, I see."
line "So they let you"
para "link with people"
line "far away?"
para "Then I'll get my"
line "friend in JOHTO to"
para "catch a MARILL and"
line "trade it to me!"
done
2018-08-19 17:56:41 +00:00
SaffronPokecenter1FFisherText:
text "I just happened to"
line "come through ROCK"
para "TUNNEL. There was"
line "some commotion at"
cont "the POWER PLANT."
done
2018-08-19 17:56:41 +00:00
SaffronPokecenter1FFisherReturnedMachinePartText:
text "Caves collapse"
line "easily."
para "Several caves have"
line "disappeared in the"
para "past few years,"
line "like the one out-"
cont "side CERULEAN."
para "As a pro HIKER,"
line "that's common"
cont "knowledge."
done
2017-12-18 00:48:04 +00:00
SaffronPokecenter1FYoungsterText:
text "SILPH CO.'s HEAD"
line "OFFICE and the"
para "MAGNET TRAIN STA-"
line "TION--they're the"
para "places to see in"
line "SAFFRON."
done
SaffronPokecenter1F_MapEvents:
db 0, 0 ; filler
def_warp_events
2018-02-02 03:22:07 +00:00
warp_event 3, 7, SAFFRON_CITY, 4
warp_event 4, 7, SAFFRON_CITY, 4
warp_event 0, 7, POKECENTER_2F, 1
def_coord_events
def_bg_events
def_object_events
2018-03-01 18:18:51 +00:00
object_event 3, 1, SPRITE_NURSE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, SaffronPokecenter1FNurseScript, -1
object_event 7, 2, SPRITE_TEACHER, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, SaffronPokecenter1FTeacherScript, -1
object_event 8, 6, SPRITE_FISHER, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, SaffronPokecenter1FFisherScript, -1
2018-02-02 03:22:07 +00:00
object_event 1, 4, SPRITE_YOUNGSTER, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, SaffronPokecenter1FYoungsterScript, -1