pokecrystal-board/maps/Level1_Map1.asm

141 lines
3.0 KiB
NASM
Raw Normal View History

object_const_def
2018-01-22 16:10:09 -08:00
const PLAYERSHOUSE2F_CONSOLE
const PLAYERSHOUSE2F_DOLL_1
const PLAYERSHOUSE2F_DOLL_2
const PLAYERSHOUSE2F_BIG_DOLL
const PLAYERSHOUSE2F_TRAINER
2015-11-26 21:22:14 -08:00
Level1_Map1_MapScripts:
def_scene_scripts
def_callbacks
2013-04-30 20:10:21 -07:00
2021-03-11 14:43:20 -08:00
PlayersHouseDoll1Script::
opentext
2023-08-14 11:09:23 -07:00
callasm .BoardMenu
waitbutton
pokemart MARTTYPE_STANDARD, MART_AZALEA
closetext
end
2023-08-14 11:09:23 -07:00
.BoardMenu:
farcall BoardMenu
ret
; describedecoration DECODESC_LEFT_DOLL
2021-03-11 14:43:20 -08:00
PlayersHouseDoll2Script:
jumpstd PokecenterNurseScript
; describedecoration DECODESC_RIGHT_DOLL
2021-03-11 14:43:20 -08:00
PlayersHouseBigDollScript:
jumpstd PCScript
; describedecoration DECODESC_BIG_DOLL
2021-03-11 14:43:20 -08:00
PlayersHouseGameConsoleScript:
randomwildmon
startbattle
reloadmapafterbattle
end
; describedecoration DECODESC_CONSOLE
2021-03-11 14:43:20 -08:00
PlayersHousePosterScript:
2018-01-11 22:40:20 -08:00
describedecoration DECODESC_POSTER
PlayersHouseRadioScript:
jumpstd Radio1Script
2015-11-02 14:38:08 -08:00
.AbbreviatedRadio:
2015-12-09 15:25:44 -08:00
opentext
2018-01-22 16:10:09 -08:00
writetext PlayersRadioText4
pause 45
2015-11-25 07:16:29 -08:00
closetext
end
PlayersHouseBookshelfScript:
jumpstd PictureBookshelfScript
PlayersHousePCScript:
2015-12-09 15:25:44 -08:00
opentext
special PlayersHousePC
2015-06-25 21:01:08 -07:00
iftrue .Warp
2015-11-25 07:16:29 -08:00
closetext
end
.Warp:
warp NONE, 0, 0
end
2018-01-22 16:10:09 -08:00
PlayersRadioText1:
text "PROF.OAK'S #MON"
line "TALK! Please tune"
cont "in next time!"
done
2018-01-22 16:10:09 -08:00
PlayersRadioText2:
text "#MON CHANNEL!"
done
2018-01-22 16:10:09 -08:00
PlayersRadioText3:
text "This is DJ MARY,"
line "your co-host!"
done
2018-01-22 16:10:09 -08:00
PlayersRadioText4:
text "#MON!"
line "#MON CHANNEL…"
done
TrainerYoungsterMikey:
trainer YOUNGSTER, MIKEY, EVENT_DECO_BED_1, YoungsterMikeySeenText, YoungsterMikeyBeatenText, 0, .Script
.Script:
endifjustbattled
opentext
writetext YoungsterMikeyAfterText
waitbutton
closetext
end
YoungsterMikeySeenText:
text "You're a #MON"
line "trainer, right?"
para "Then you have to"
line "battle!"
done
YoungsterMikeyBeatenText:
text "That's strange."
line "I won before."
done
YoungsterMikeyAfterText:
text "Becoming a good"
line "trainer is really"
cont "tough."
para "I'm going to bat-"
line "tle other people"
cont "to get better."
done
Level1_Map1_MapEvents:
db 0, 0 ; filler
def_warp_events
warp_event 7, 0, LEVEL_1_MAP_1, 1
def_coord_events
def_bg_events
2018-02-01 19:22:07 -08:00
bg_event 2, 1, BGEVENT_UP, PlayersHousePCScript
bg_event 3, 1, BGEVENT_READ, PlayersHouseRadioScript
bg_event 5, 1, BGEVENT_READ, PlayersHouseBookshelfScript
2021-03-11 14:43:20 -08:00
bg_event 6, 0, BGEVENT_IFSET, PlayersHousePosterScript
def_object_events
object_event 4, 2, SPRITE_CONSOLE, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, PlayersHouseGameConsoleScript, -1
object_event 4, 4, SPRITE_DOLL_1, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, PlayersHouseDoll1Script, -1
object_event 5, 4, SPRITE_DOLL_2, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, PlayersHouseDoll2Script, -1
object_event 0, 1, SPRITE_BIG_DOLL, SPRITEMOVEDATA_BIGDOLL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, PlayersHouseBigDollScript, -1
2023-08-14 11:09:23 -07:00
object_event 6, 6, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 1, TrainerYoungsterMikey, -1