diff options
Diffstat (limited to 'maps/PowerPlant.asm')
-rw-r--r-- | maps/PowerPlant.asm | 91 |
1 files changed, 45 insertions, 46 deletions
diff --git a/maps/PowerPlant.asm b/maps/PowerPlant.asm index 5f0e49ae..aaf4d357 100644 --- a/maps/PowerPlant.asm +++ b/maps/PowerPlant.asm @@ -1,11 +1,10 @@ - const_def 2 ; object constants + object_const_def ; object_event constants const POWERPLANT_OFFICER1 const POWERPLANT_GYM_GUY1 const POWERPLANT_GYM_GUY2 const POWERPLANT_OFFICER2 const POWERPLANT_GYM_GUY3 - const POWERPLANT_FISHER - const POWERPLANT_FOREST + const POWERPLANT_MANAGER PowerPlant_MapScripts: db 2 ; scene scripts @@ -25,21 +24,21 @@ PowerPlantGuardPhoneScript: showemote EMOTE_SHOCK, POWERPLANT_OFFICER1, 15 waitsfx pause 30 - applymovement POWERPLANT_OFFICER1, MovementData_0x188ed5 + applymovement POWERPLANT_OFFICER1, PowerPlantOfficer1ApproachGymGuy2Movement turnobject POWERPLANT_GYM_GUY1, DOWN turnobject POWERPLANT_GYM_GUY2, DOWN opentext - writetext UnknownText_0x188f22 + writetext PowerPlantOfficer1CeruleanShadyCharacterText waitbutton closetext turnobject POWERPLANT_OFFICER1, LEFT turnobject PLAYER, RIGHT opentext - writetext UnknownText_0x188f7f + writetext PowerPlantOfficer1CouldIAskForYourCooperationText waitbutton closetext turnobject PLAYER, DOWN - applymovement POWERPLANT_OFFICER1, MovementData_0x188eda + applymovement POWERPLANT_OFFICER1, PowerPlantOfficer1ReturnToPostMovement setscene SCENE_POWERPLANT_NOTHING end @@ -50,19 +49,19 @@ PowerPlantOfficerScript: iftrue .ReturnedMachinePart checkevent EVENT_MET_MANAGER_AT_POWER_PLANT iftrue .MetManager - writetext UnknownText_0x188ee0 + writetext PowerPlantOfficer1AThiefBrokeInText waitbutton closetext end .MetManager: - writetext UnknownText_0x188f7f + writetext PowerPlantOfficer1CouldIAskForYourCooperationText waitbutton closetext end .ReturnedMachinePart: - writetext UnknownText_0x188fa2 + writetext PowerPlantOfficer1HaveToBeefUpSecurityText waitbutton closetext end @@ -72,13 +71,13 @@ PowerPlantGymGuy1Script: opentext checkevent EVENT_RETURNED_MACHINE_PART iftrue .ReturnedMachinePart - writetext UnknownText_0x188fcf + writetext PowerPlantGymGuy1SomeoneStoleAPartText waitbutton closetext end .ReturnedMachinePart: - writetext UnknownText_0x189038 + writetext PowerPlantGymGuy1GeneratorUpAndRunningText waitbutton closetext end @@ -88,29 +87,29 @@ PowerPlantGymGuy2Script: opentext checkevent EVENT_RETURNED_MACHINE_PART iftrue .ReturnedMachinePart - writetext UnknownText_0x189079 + writetext PowerPlantGymGuy2PowerPlantUpAndRunningText waitbutton closetext end .ReturnedMachinePart: - writetext UnknownText_0x1890ef + writetext PowerPlantGymGuy2GeneratorIsRunningAgainText waitbutton closetext end -PowerPlantGymGuy3Script: +PowerPlantOfficer2Script: faceplayer opentext checkevent EVENT_RETURNED_MACHINE_PART iftrue .ReturnedMachinePart - writetext UnknownText_0x18910e + writetext PowerPlantOfficer2ManagerHasBeenSadAndFuriousText waitbutton closetext end .ReturnedMachinePart: - writetext UnknownText_0x18917f + writetext PowerPlantOfficer2ManagerHasBeenCheerfulText waitbutton closetext end @@ -120,13 +119,13 @@ PowerPlantGymGuy4Script: opentext checkevent EVENT_RETURNED_MACHINE_PART iftrue .ReturnedMachinePart - writetext UnknownText_0x1891c2 + writetext PowerPlantGymGuy4MagnetTrainConsumesElectricityText waitbutton closetext end .ReturnedMachinePart: - writetext UnknownText_0x189225 + writetext PowerPlantGymGuy4WeCanGetMagnetTrainRunningText waitbutton closetext end @@ -140,7 +139,7 @@ PowerPlantManager: iftrue .FoundMachinePart checkevent EVENT_MET_MANAGER_AT_POWER_PLANT iftrue .MetManager - writetext UnknownText_0x189264 + writetext PowerPlantManagerWhoWouldRuinMyGeneratorText waitbutton closetext setevent EVENT_MET_MANAGER_AT_POWER_PLANT @@ -151,13 +150,13 @@ PowerPlantManager: end .MetManager: - writetext UnknownText_0x189308 + writetext PowerPlantManagerIWontForgiveCulpritText waitbutton closetext end .FoundMachinePart: - writetext UnknownText_0x18936e + writetext PowerPlantManagerThatsThePartText promptbutton takeitem MACHINE_PART setevent EVENT_RETURNED_MACHINE_PART @@ -169,19 +168,19 @@ PowerPlantManager: .ReturnedMachinePart: checkevent EVENT_GOT_TM07_ZAP_CANNON iftrue .GotZapCannon - writetext UnknownText_0x1893c4 + writetext PowerPlantManagerTakeThisTMText promptbutton verbosegiveitem TM_ZAP_CANNON iffalse .NoRoom setevent EVENT_GOT_TM07_ZAP_CANNON - writetext UnknownText_0x1893f4 + writetext PowerPlantManagerTM07IsZapCannonText waitbutton .NoRoom: closetext end .GotZapCannon: - writetext UnknownText_0x189475 + writetext PowerPlantManagerMyBelovedGeneratorText waitbutton closetext end @@ -189,14 +188,14 @@ PowerPlantManager: PowerPlantBookshelf: jumpstd difficultbookshelf -MovementData_0x188ed5: +PowerPlantOfficer1ApproachGymGuy2Movement: step RIGHT step RIGHT step UP step UP step_end -MovementData_0x188eda: +PowerPlantOfficer1ReturnToPostMovement: step DOWN step DOWN step LEFT @@ -204,7 +203,7 @@ MovementData_0x188eda: turn_head DOWN step_end -UnknownText_0x188ee0: +PowerPlantOfficer1AThiefBrokeInText: text "A thief broke into" line "the POWER PLANT…" @@ -212,7 +211,7 @@ UnknownText_0x188ee0: line "coming to?" done -UnknownText_0x188f22: +PowerPlantOfficer1CeruleanShadyCharacterText: text "I just got word" line "from CERULEAN." @@ -223,18 +222,18 @@ UnknownText_0x188f22: line "around." done -UnknownText_0x188f7f: +PowerPlantOfficer1CouldIAskForYourCooperationText: text "Could I ask for" line "your cooperation?" done -UnknownText_0x188fa2: +PowerPlantOfficer1HaveToBeefUpSecurityText: text "We'll have to beef" line "up our security" cont "presence." done -UnknownText_0x188fcf: +PowerPlantGymGuy1SomeoneStoleAPartText: text "Someone made off" line "with a part that's" @@ -246,7 +245,7 @@ UnknownText_0x188fcf: cont "useless!" done -UnknownText_0x189038: +PowerPlantGymGuy1GeneratorUpAndRunningText: text "The generator's up" line "and running. It's" @@ -254,7 +253,7 @@ UnknownText_0x189038: line "to spare." done -UnknownText_0x189079: +PowerPlantGymGuy2PowerPlantUpAndRunningText: text "This POWER PLANT" line "had been abandoned" cont "in the past." @@ -266,12 +265,12 @@ UnknownText_0x189079: line "the MAGNET TRAIN." done -UnknownText_0x1890ef: +PowerPlantGymGuy2GeneratorIsRunningAgainText: text "The generator's" line "running again!" done -UnknownText_0x18910e: +PowerPlantOfficer2ManagerHasBeenSadAndFuriousText: text "The POWER PLANT's" line "MANAGER is up" cont "ahead." @@ -283,7 +282,7 @@ UnknownText_0x18910e: cont "furious…" done -UnknownText_0x18917f: +PowerPlantOfficer2ManagerHasBeenCheerfulText: text "Since the gener-" line "ator's been fixed," @@ -291,7 +290,7 @@ UnknownText_0x18917f: line "been cheerful." done -UnknownText_0x1891c2: +PowerPlantGymGuy4MagnetTrainConsumesElectricityText: text "The MAGNET TRAIN" line "consumes a lot of" cont "electricity." @@ -301,7 +300,7 @@ UnknownText_0x1891c2: cont "isn't operating." done -UnknownText_0x189225: +PowerPlantGymGuy4WeCanGetMagnetTrainRunningText: text "All right! We can" line "finally get the" @@ -309,7 +308,7 @@ UnknownText_0x189225: line "running again." done -UnknownText_0x189264: +PowerPlantManagerWhoWouldRuinMyGeneratorText: text "MANAGER: I, I, I'm" line "ready to blast" cont "someone!" @@ -327,7 +326,7 @@ UnknownText_0x189264: line "CANNON!" done -UnknownText_0x189308: +PowerPlantManagerIWontForgiveCulpritText: text "MANAGER: I won't" line "forgive him!" @@ -340,7 +339,7 @@ UnknownText_0x189308: para "Gahahahah!" done -UnknownText_0x18936e: +PowerPlantManagerThatsThePartText: text "MANAGER: Ah! Yeah!" para "That's the missing" @@ -349,14 +348,14 @@ UnknownText_0x18936e: cont "You found it?" done -UnknownText_0x1893c4: +PowerPlantManagerTakeThisTMText: text "Wahah! Thanks!" para "Here! Take this TM" line "as a reward!" done -UnknownText_0x1893f4: +PowerPlantManagerTM07IsZapCannonText: text "MANAGER: TM07 is" line "my ZAP CANNON." @@ -370,7 +369,7 @@ UnknownText_0x1893f4: line "packs a wallop!" done -UnknownText_0x189475: +PowerPlantManagerMyBelovedGeneratorText: text "MANAGER: My be-" line "loved generator!" @@ -396,6 +395,6 @@ PowerPlant_MapEvents: object_event 4, 14, SPRITE_OFFICER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, PowerPlantOfficerScript, -1 object_event 2, 9, SPRITE_GYM_GUY, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, PowerPlantGymGuy1Script, -1 object_event 6, 11, SPRITE_GYM_GUY, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, PowerPlantGymGuy2Script, -1 - object_event 9, 3, SPRITE_OFFICER, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, PowerPlantGymGuy3Script, -1 + object_event 9, 3, SPRITE_OFFICER, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, PowerPlantOfficer2Script, -1 object_event 7, 2, SPRITE_GYM_GUY, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, PowerPlantGymGuy4Script, -1 object_event 14, 10, SPRITE_FISHER, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, PowerPlantManager, -1 |