summaryrefslogtreecommitdiff
path: root/data/maps/PowerPlant/scripts.inc
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2019-05-14 16:47:07 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2019-05-14 16:47:07 -0400
commit7dca612936fda9254239e0e350a45c56a766053a (patch)
tree6fac847adc6e8aa20b2d658d7c469c452801172f /data/maps/PowerPlant/scripts.inc
parentefbbd67f81538a6c1774201cef2c1b33083a3a65 (diff)
Fix indentation in .inc files
Diffstat (limited to 'data/maps/PowerPlant/scripts.inc')
-rw-r--r--data/maps/PowerPlant/scripts.inc228
1 files changed, 114 insertions, 114 deletions
diff --git a/data/maps/PowerPlant/scripts.inc b/data/maps/PowerPlant/scripts.inc
index 78878b456..8f7f15d54 100644
--- a/data/maps/PowerPlant/scripts.inc
+++ b/data/maps/PowerPlant/scripts.inc
@@ -1,141 +1,141 @@
PowerPlant_MapScripts:: @ 8163764
- map_script 5, PowerPlant_MapScript1_16376F
- map_script 3, PowerPlant_MapScript2_16378D
- .byte 0
+ map_script 5, PowerPlant_MapScript1_16376F
+ map_script 3, PowerPlant_MapScript2_16378D
+ .byte 0
PowerPlant_MapScript1_16376F:: @ 816376F
- checkflag 2055
- call_if 1, EventScript_163779
- end
+ checkflag 2055
+ call_if 1, EventScript_163779
+ end
EventScript_163779:: @ 8163779
- specialvar VAR_RESULT, sub_80CA74C
- compare_var_to_value VAR_RESULT, 7
- goto_if 5, EventScript_1A77A9
- removeobject VAR_LAST_TALKED
- return
+ specialvar VAR_RESULT, sub_80CA74C
+ compare_var_to_value VAR_RESULT, 7
+ goto_if 5, EventScript_1A77A9
+ removeobject VAR_LAST_TALKED
+ return
PowerPlant_MapScript2_16378D:: @ 816378D
- setworldmapflag 2228
- checkflag FLAG_0x2BF
- call_if 0, EventScript_1637AC
- checkflag FLAG_0x2D0
- call_if 0, EventScript_1637B0
- checkflag FLAG_0x2D1
- call_if 0, EventScript_1637B4
- end
+ setworldmapflag 2228
+ checkflag FLAG_0x2BF
+ call_if 0, EventScript_1637AC
+ checkflag FLAG_0x2D0
+ call_if 0, EventScript_1637B0
+ checkflag FLAG_0x2D1
+ call_if 0, EventScript_1637B4
+ end
EventScript_1637AC:: @ 81637AC
- clearflag FLAG_0x05D
- return
+ clearflag FLAG_0x05D
+ return
EventScript_1637B0:: @ 81637B0
- clearflag FLAG_0x085
- return
+ clearflag FLAG_0x085
+ return
EventScript_1637B4:: @ 81637B4
- clearflag FLAG_0x086
- return
+ clearflag FLAG_0x086
+ return
PowerPlant_EventScript_1637B8:: @ 81637B8
- special sub_8110AB4
- compare_var_to_value VAR_RESULT, 2
- goto_if 1, EventScript_1A7AE0
- special sub_8112364
- lock
- faceplayer
- setwildbattle SPECIES_ZAPDOS, 50, ITEM_NONE
- waitse
- playmoncry SPECIES_ZAPDOS, 2
- message Text_1A6448
- waitmessage
- waitmoncry
- delay 10
- playbgm BGM_FRLG_LEADER_EYE, 0
- waitbuttonpress
- setflag 2055
- special sub_807F9D8
- waitstate
- clearflag 2055
- specialvar VAR_RESULT, sub_80CA74C
- compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_16381B
- compare_var_to_value VAR_RESULT, 4
- goto_if 1, EventScript_163824
- compare_var_to_value VAR_RESULT, 5
- goto_if 1, EventScript_163824
- setflag FLAG_0x2BF
- release
- end
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ special sub_8112364
+ lock
+ faceplayer
+ setwildbattle SPECIES_ZAPDOS, 50, ITEM_NONE
+ waitse
+ playmoncry SPECIES_ZAPDOS, 2
+ message Text_1A6448
+ waitmessage
+ waitmoncry
+ delay 10
+ playbgm BGM_FRLG_LEADER_EYE, 0
+ waitbuttonpress
+ setflag 2055
+ special sub_807F9D8
+ waitstate
+ clearflag 2055
+ specialvar VAR_RESULT, sub_80CA74C
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16381B
+ compare_var_to_value VAR_RESULT, 4
+ goto_if 1, EventScript_163824
+ compare_var_to_value VAR_RESULT, 5
+ goto_if 1, EventScript_163824
+ setflag FLAG_0x2BF
+ release
+ end
EventScript_16381B:: @ 816381B
- setflag FLAG_0x2BF
- goto EventScript_1A922D
- end
+ setflag FLAG_0x2BF
+ goto EventScript_1A922D
+ end
EventScript_163824:: @ 8163824
- setvar VAR_0x8004, 145
- goto EventScript_1A9236
- end
+ setvar VAR_0x8004, 145
+ goto EventScript_1A9236
+ end
PowerPlant_EventScript_16382F:: @ 816382F
- special sub_8110AB4
- compare_var_to_value VAR_RESULT, 2
- goto_if 1, EventScript_1A7AE0
- lock
- faceplayer
- setwildbattle SPECIES_ELECTRODE, 34, ITEM_NONE
- waitse
- playmoncry SPECIES_ELECTRODE, 2
- delay 40
- waitmoncry
- setflag 2055
- dowildbattle
- clearflag 2055
- special sub_8112364
- specialvar VAR_RESULT, sub_80CA74C
- compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_163884
- compare_var_to_value VAR_RESULT, 4
- goto_if 1, EventScript_163884
- compare_var_to_value VAR_RESULT, 5
- goto_if 1, EventScript_163884
- setflag FLAG_0x2D0
- release
- end
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ lock
+ faceplayer
+ setwildbattle SPECIES_ELECTRODE, 34, ITEM_NONE
+ waitse
+ playmoncry SPECIES_ELECTRODE, 2
+ delay 40
+ waitmoncry
+ setflag 2055
+ dowildbattle
+ clearflag 2055
+ special sub_8112364
+ specialvar VAR_RESULT, sub_80CA74C
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_163884
+ compare_var_to_value VAR_RESULT, 4
+ goto_if 1, EventScript_163884
+ compare_var_to_value VAR_RESULT, 5
+ goto_if 1, EventScript_163884
+ setflag FLAG_0x2D0
+ release
+ end
EventScript_163884:: @ 8163884
- setflag FLAG_0x2D0
- goto EventScript_1A922D
- end
+ setflag FLAG_0x2D0
+ goto EventScript_1A922D
+ end
PowerPlant_EventScript_16388D:: @ 816388D
- special sub_8110AB4
- compare_var_to_value VAR_RESULT, 2
- goto_if 1, EventScript_1A7AE0
- lock
- faceplayer
- setwildbattle SPECIES_ELECTRODE, 34, ITEM_NONE
- waitse
- playmoncry SPECIES_ELECTRODE, 2
- delay 40
- waitmoncry
- setflag 2055
- dowildbattle
- clearflag 2055
- special sub_8112364
- specialvar VAR_RESULT, sub_80CA74C
- compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1638E2
- compare_var_to_value VAR_RESULT, 4
- goto_if 1, EventScript_1638E2
- compare_var_to_value VAR_RESULT, 5
- goto_if 1, EventScript_1638E2
- setflag FLAG_0x2D1
- release
- end
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ lock
+ faceplayer
+ setwildbattle SPECIES_ELECTRODE, 34, ITEM_NONE
+ waitse
+ playmoncry SPECIES_ELECTRODE, 2
+ delay 40
+ waitmoncry
+ setflag 2055
+ dowildbattle
+ clearflag 2055
+ special sub_8112364
+ specialvar VAR_RESULT, sub_80CA74C
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_1638E2
+ compare_var_to_value VAR_RESULT, 4
+ goto_if 1, EventScript_1638E2
+ compare_var_to_value VAR_RESULT, 5
+ goto_if 1, EventScript_1638E2
+ setflag FLAG_0x2D1
+ release
+ end
EventScript_1638E2:: @ 81638E2
- setflag FLAG_0x2D1
- goto EventScript_1A922D
- end
+ setflag FLAG_0x2D1
+ goto EventScript_1A922D
+ end