pokecrystal/maps/VermilionCity.asm

302 lines
6.4 KiB
NASM
Raw Normal View History

object_const_def
2015-11-27 05:22:14 +00:00
const VERMILIONCITY_TEACHER
const VERMILIONCITY_GRAMPS
const VERMILIONCITY_MACHOP
const VERMILIONCITY_SUPER_NERD
const VERMILIONCITY_BIG_SNORLAX
const VERMILIONCITY_POKEFAN_M
VermilionCity_MapScripts:
def_scene_scripts
def_callbacks
callback MAPCALLBACK_NEWMAP, .FlyPoint
.FlyPoint:
2015-06-26 05:30:16 +00:00
setflag ENGINE_FLYPOINT_VERMILION
endcallback
2017-12-18 00:48:04 +00:00
VermilionCityTeacherScript:
jumptextfaceplayer VermilionCityTeacherText
2016-04-07 10:13:59 +00:00
VermilionMachopOwner:
jumptextfaceplayer VermilionMachopOwnerText
2015-06-26 04:01:08 +00:00
VermilionMachop:
2015-12-09 23:25:44 +00:00
opentext
2016-04-07 10:13:59 +00:00
writetext VermilionMachopText1
cry MACHOP
2015-11-25 15:16:29 +00:00
waitbutton
closetext
earthquake 30
2015-12-09 23:25:44 +00:00
opentext
2016-04-07 10:13:59 +00:00
writetext VermilionMachopText2
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2017-12-18 00:48:04 +00:00
VermilionCitySuperNerdScript:
jumptextfaceplayer VermilionCitySuperNerdText
2015-06-26 04:01:08 +00:00
VermilionSnorlax:
2015-12-09 23:25:44 +00:00
opentext
special SnorlaxAwake
2018-02-28 22:47:31 +00:00
iftrue .Awake
writetext VermilionCitySnorlaxSleepingText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2018-02-28 22:47:31 +00:00
.Awake:
writetext VermilionCityRadioNearSnorlaxText
pause 15
cry SNORLAX
2015-11-25 15:16:29 +00:00
closetext
loadvar VAR_BATTLETYPE, BATTLETYPE_FORCEITEM
loadwildmon SNORLAX, 50
startbattle
2015-11-27 05:22:14 +00:00
disappear VERMILIONCITY_BIG_SNORLAX
2013-09-24 07:48:58 +00:00
setevent EVENT_FOUGHT_SNORLAX
reloadmapafterbattle
end
2015-06-26 04:01:08 +00:00
VermilionGymBadgeGuy:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2015-06-26 04:01:08 +00:00
checkevent EVENT_GOT_HP_UP_FROM_VERMILION_GUY
iftrue .AlreadyGotItem
readvar VAR_BADGES
2018-02-03 02:09:17 +00:00
ifequal NUM_BADGES, .AllBadges
ifgreater 13, .MostBadges
ifgreater 9, .SomeBadges
writetext VermilionCityBadgeGuyTrainerText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
.SomeBadges:
writetext VermilionCityBadgeGuySomeBadgesText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
.MostBadges:
writetext VermilionCityBadgeGuyMostBadgesText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
.AllBadges:
writetext VermilionCityBadgeGuyAllBadgesText
2019-11-03 17:48:54 +00:00
promptbutton
2015-11-05 01:20:14 +00:00
verbosegiveitem HP_UP
2015-06-26 04:01:08 +00:00
iffalse .Done
setevent EVENT_GOT_HP_UP_FROM_VERMILION_GUY
.AlreadyGotItem:
writetext VermilionCityBadgeGuyBattleEdgeText
2015-11-25 15:16:29 +00:00
waitbutton
.Done:
2015-11-25 15:16:29 +00:00
closetext
end
2015-06-26 04:01:08 +00:00
VermilionCitySign:
jumptext VermilionCitySignText
2015-06-26 04:01:08 +00:00
VermilionGymSign:
jumptext VermilionGymSignText
2015-06-26 04:01:08 +00:00
PokemonFanClubSign:
jumptext PokemonFanClubSignText
2015-06-26 04:01:08 +00:00
VermilionCityDiglettsCaveSign:
jumptext VermilionCityDiglettsCaveSignText
2015-06-26 04:01:08 +00:00
VermilionCityPortSign:
jumptext VermilionCityPortSignText
VermilionCityPokecenterSign:
jumpstd PokecenterSignScript
2015-06-26 04:01:08 +00:00
VermilionCityMartSign:
jumpstd MartSignScript
VermilionCityHiddenFullHeal:
hiddenitem FULL_HEAL, EVENT_VERMILION_CITY_HIDDEN_FULL_HEAL
2017-12-18 00:48:04 +00:00
VermilionCityTeacherText:
text "VERMILION PORT is"
line "KANTO's seaside"
cont "gateway."
para "Luxury liners from"
line "around the world"
cont "dock here."
done
2016-04-07 10:13:59 +00:00
VermilionMachopOwnerText:
text "My #MON is"
line "preparing the land"
cont "for construction."
para "But I have no"
line "money to start the"
cont "project…"
done
2016-04-07 10:13:59 +00:00
VermilionMachopText1:
text "MACHOP: Guooh"
line "gogogoh!"
done
2016-04-07 10:13:59 +00:00
VermilionMachopText2:
text "A MACHOP is growl-"
line "ing while stomping"
cont "the ground flat."
done
2017-12-18 00:48:04 +00:00
VermilionCitySuperNerdText:
text "There are eight"
line "GYMS in KANTO."
para "That big building"
line "is VERMILION's"
cont "#MON GYM."
done
VermilionCitySnorlaxSleepingText:
text "SNORLAX is snoring"
line "peacefully…"
done
VermilionCityRadioNearSnorlaxText:
text "The #GEAR was"
line "placed near the"
cont "sleeping SNORLAX…"
para "…"
para "SNORLAX woke up!"
done
VermilionCityBadgeGuyTrainerText:
text "Skilled trainers"
line "gather in KANTO."
para "GYM LEADERS are"
line "especially strong."
para "They won't be easy"
line "to defeat."
done
VermilionCityBadgeGuySomeBadgesText:
text "You've started to"
line "collect KANTO GYM"
cont "BADGES?"
para "Don't you agree"
line "that the trainers"
cont "here are tough?"
done
VermilionCityBadgeGuyMostBadgesText:
text "I guess you'll be"
line "finished with your"
para "conquest of KANTO"
line "GYMS soon."
para "Let me know if"
line "you get all eight"
cont "BADGES."
done
VermilionCityBadgeGuyAllBadgesText:
text "Congratulations!"
para "You got all the"
line "KANTO GYM BADGES."
para "I've got a reward"
line "for your efforts."
done
VermilionCityBadgeGuyBattleEdgeText:
text "Having a variety"
line "of #MON types"
para "should give you an"
line "edge in battle."
para "I'm sure the KANTO"
line "GYM BADGES will"
cont "help you."
done
2015-06-26 04:01:08 +00:00
VermilionCitySignText:
text "VERMILION CITY"
para "The Port of"
line "Exquisite Sunsets"
done
2015-06-26 04:01:08 +00:00
VermilionGymSignText:
text "VERMILION CITY"
line "#MON GYM"
cont "LEADER: LT.SURGE"
para "The Lightning"
line "American"
done
2015-06-26 04:01:08 +00:00
PokemonFanClubSignText:
text "#MON FAN CLUB"
para "All #MON Fans"
line "Welcome!"
done
2015-06-26 04:01:08 +00:00
VermilionCityDiglettsCaveSignText:
text "DIGLETT'S CAVE"
done
2015-06-26 04:01:08 +00:00
VermilionCityPortSignText:
text "VERMILION PORT"
line "ENTRANCE"
done
VermilionCity_MapEvents:
db 0, 0 ; filler
def_warp_events
2018-02-02 03:22:07 +00:00
warp_event 5, 5, VERMILION_FISHING_SPEECH_HOUSE, 1
warp_event 9, 5, VERMILION_POKECENTER_1F, 1
warp_event 7, 13, POKEMON_FAN_CLUB, 1
2018-02-02 02:54:00 +00:00
warp_event 13, 13, VERMILION_MAGNET_TRAIN_SPEECH_HOUSE, 1
warp_event 21, 13, VERMILION_MART, 2
warp_event 21, 17, VERMILION_DIGLETTS_CAVE_SPEECH_HOUSE, 1
warp_event 10, 19, VERMILION_GYM, 1
warp_event 19, 31, VERMILION_PORT_PASSAGE, 1
warp_event 20, 31, VERMILION_PORT_PASSAGE, 2
2018-02-02 03:22:07 +00:00
warp_event 34, 7, DIGLETTS_CAVE, 1
def_coord_events
def_bg_events
2018-02-02 03:22:07 +00:00
bg_event 25, 3, BGEVENT_READ, VermilionCitySign
bg_event 5, 19, BGEVENT_READ, VermilionGymSign
bg_event 5, 13, BGEVENT_READ, PokemonFanClubSign
bg_event 33, 9, BGEVENT_READ, VermilionCityDiglettsCaveSign
bg_event 27, 15, BGEVENT_READ, VermilionCityPortSign
2018-02-02 03:22:07 +00:00
bg_event 10, 5, BGEVENT_READ, VermilionCityPokecenterSign
bg_event 22, 13, BGEVENT_READ, VermilionCityMartSign
bg_event 12, 19, BGEVENT_ITEM, VermilionCityHiddenFullHeal
def_object_events
2018-02-02 03:22:07 +00:00
object_event 18, 9, SPRITE_TEACHER, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, VermilionCityTeacherScript, -1
object_event 23, 6, SPRITE_GRAMPS, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, VermilionMachopOwner, -1
object_event 26, 7, SPRITE_MACHOP, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, VermilionMachop, -1
object_event 14, 16, SPRITE_SUPER_NERD, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, VermilionCitySuperNerdScript, -1
2018-02-02 03:22:07 +00:00
object_event 34, 8, SPRITE_BIG_SNORLAX, SPRITEMOVEDATA_BIGDOLLSYM, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, VermilionSnorlax, EVENT_VERMILION_CITY_SNORLAX
object_event 31, 12, SPRITE_POKEFAN_M, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, VermilionGymBadgeGuy, -1