aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/PowerPlant.asm
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2020-05-20 19:40:33 -0500
committerdannye <33dannye@gmail.com>2020-05-20 20:02:53 -0500
commit10f9559eab8c93b94abb8ae8d1083704ad4e169a (patch)
tree7dbe7b152dde8a6e9b56664b5b8cdfc0d6be1253 /scripts/PowerPlant.asm
parentMerge pull request #39 from TiKevin83/master (diff)
downloadpokeyellow-10f9559eab8c93b94abb8ae8d1083704ad4e169a.tar.gz
pokeyellow-10f9559eab8c93b94abb8ae8d1083704ad4e169a.tar.xz
pokeyellow-10f9559eab8c93b94abb8ae8d1083704ad4e169a.zip
Sync with pokered
Diffstat (limited to '')
-rwxr-xr-xscripts/PowerPlant.asm (renamed from scripts/powerplant.asm)11
1 files changed, 5 insertions, 6 deletions
diff --git a/scripts/powerplant.asm b/scripts/PowerPlant.asm
index c7a5625f..f720b6f8 100755
--- a/scripts/powerplant.asm
+++ b/scripts/PowerPlant.asm
@@ -1,18 +1,18 @@
-PowerPlantScript:
+PowerPlant_Script:
call EnableAutoTextBoxDrawing
- ld hl, PowerPlantTrainerHeaders
- ld de, .ScriptPointers
+ ld hl, Voltorb0TrainerHeader
+ ld de, PowerPlant_ScriptPointers
ld a, [wPowerPlantCurScript]
call ExecuteCurMapScriptInTable
ld [wPowerPlantCurScript], a
ret
-.ScriptPointers
+PowerPlant_ScriptPointers:
dw CheckFightingMapTrainers
dw DisplayEnemyTrainerTextAndStartBattle
dw EndTrainerBattle
-PowerPlantTextPointers:
+PowerPlant_TextPointers:
dw Voltorb0Text
dw Voltorb1Text
dw Voltorb2Text
@@ -28,7 +28,6 @@ PowerPlantTextPointers:
dw PickUpItemText
dw PickUpItemText
-PowerPlantTrainerHeaders:
Voltorb0TrainerHeader:
dbEventFlagBit EVENT_BEAT_POWER_PLANT_VOLTORB_0
db 0 ; view range