Merge branch 'master' into extern-cleanup
This commit is contained in:
4
Makefile
4
Makefile
@@ -159,7 +159,7 @@ $(C_BUILDDIR)/%.o : $(C_SUBDIR)/%.c $$(c_dep)
|
|||||||
ifeq ($(NODEP),1)
|
ifeq ($(NODEP),1)
|
||||||
$(ASM_BUILDDIR)/%.o: asm_dep :=
|
$(ASM_BUILDDIR)/%.o: asm_dep :=
|
||||||
else
|
else
|
||||||
$(ASM_BUILDDIR)/%.o: asm_dep = $(shell $(SCANINC) $(ASM_SUBDIR)/$*.s)
|
$(ASM_BUILDDIR)/%.o: asm_dep = $(shell $(SCANINC) -I "" $(ASM_SUBDIR)/$*.s)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(ASM_BUILDDIR)/%.o: $(ASM_SUBDIR)/%.s $$(asm_dep)
|
$(ASM_BUILDDIR)/%.o: $(ASM_SUBDIR)/%.s $$(asm_dep)
|
||||||
@@ -168,7 +168,7 @@ $(ASM_BUILDDIR)/%.o: $(ASM_SUBDIR)/%.s $$(asm_dep)
|
|||||||
ifeq ($(NODEP),1)
|
ifeq ($(NODEP),1)
|
||||||
$(DATA_ASM_BUILDDIR)/%.o: data_dep :=
|
$(DATA_ASM_BUILDDIR)/%.o: data_dep :=
|
||||||
else
|
else
|
||||||
$(DATA_ASM_BUILDDIR)/%.o: data_dep = $(shell $(SCANINC) $(DATA_ASM_SUBDIR)/$*.s)
|
$(DATA_ASM_BUILDDIR)/%.o: data_dep = $(shell $(SCANINC) -I include -I "" $(DATA_ASM_SUBDIR)/$*.s)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(DATA_ASM_BUILDDIR)/%.o: $(DATA_ASM_SUBDIR)/%.s $$(data_dep)
|
$(DATA_ASM_BUILDDIR)/%.o: $(DATA_ASM_SUBDIR)/%.s $$(data_dep)
|
||||||
|
|||||||
1698
asm/flying.s
1698
asm/flying.s
File diff suppressed because it is too large
Load Diff
@@ -1078,7 +1078,7 @@
|
|||||||
.4byte \param0
|
.4byte \param0
|
||||||
.endm
|
.endm
|
||||||
|
|
||||||
.macro tryimprision param0:req
|
.macro tryimprison param0:req
|
||||||
.byte 0xdb
|
.byte 0xdb
|
||||||
.4byte \param0
|
.4byte \param0
|
||||||
.endm
|
.endm
|
||||||
|
|||||||
@@ -824,7 +824,7 @@
|
|||||||
.byte \y
|
.byte \y
|
||||||
.endm
|
.endm
|
||||||
|
|
||||||
@ Displays a multichoice box from which the user can choose a selection, and blocks script execution until a selection is made. Lists of options are predefined and the one to be used is specified with list. If b is set to a non-zero value, then the user will not be allowed to back out of the multichoice with the B button.
|
@ Displays a multichoice box from which the user can choose a selection, and blocks script execution until a selection is made. Lists of options are predefined (gMultichoiceLists) and the one to be used is specified with list. If b is set to a non-zero value, then the user will not be allowed to back out of the multichoice with the B button.
|
||||||
.macro multichoice x:req, y:req, list:req, b:req
|
.macro multichoice x:req, y:req, list:req, b:req
|
||||||
.byte 0x6f
|
.byte 0x6f
|
||||||
.byte \x
|
.byte \x
|
||||||
@@ -833,7 +833,7 @@
|
|||||||
.byte \b
|
.byte \b
|
||||||
.endm
|
.endm
|
||||||
|
|
||||||
@ Displays a multichoice box from which the user can choose a selection, and blocks script execution until a selection is made. Lists of options are predefined and the one to be used is specified with list. The default argument determines the initial position of the cursor when the box is first opened; it is zero-indexed, and if it is too large, it is treated as 0x00. If b is set to a non-zero value, then the user will not be allowed to back out of the multichoice with the B button.
|
@ Displays a multichoice box from which the user can choose a selection, and blocks script execution until a selection is made. Lists of options are predefined (gMultichoiceLists) and the one to be used is specified with list. The default argument determines the initial position of the cursor when the box is first opened; it is zero-indexed, and if it is too large, it is treated as 0x00. If b is set to a non-zero value, then the user will not be allowed to back out of the multichoice with the B button.
|
||||||
.macro multichoicedefault x:req, y:req, list:req, default:req, b:req
|
.macro multichoicedefault x:req, y:req, list:req, default:req, b:req
|
||||||
.byte 0x70
|
.byte 0x70
|
||||||
.byte \x
|
.byte \x
|
||||||
@@ -843,7 +843,7 @@
|
|||||||
.byte \b
|
.byte \b
|
||||||
.endm
|
.endm
|
||||||
|
|
||||||
@ Displays a multichoice box from which the user can choose a selection, and blocks script execution until a selection is made. Lists of options are predefined and the one to be used is specified with list. The per_row argument determines how many list items will be shown on a single row of the box.
|
@ Displays a multichoice box from which the user can choose a selection, and blocks script execution until a selection is made. Lists of options are predefined (gMultichoiceLists) and the one to be used is specified with list. The per_row argument determines how many list items will be shown on a single row of the box.
|
||||||
.macro multichoicegrid x:req, y:req, list:req, per_row:req, B:req
|
.macro multichoicegrid x:req, y:req, list:req, per_row:req, B:req
|
||||||
.byte 0x71
|
.byte 0x71
|
||||||
.byte \x
|
.byte \x
|
||||||
|
|||||||
@@ -472,7 +472,7 @@ sub_8017020: @ 8017020
|
|||||||
bl sub_81973A4
|
bl sub_81973A4
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
bl NewMenuHelpers_DrawDialogueFrame
|
bl DrawDialogueFrame
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
adds r1, r4, 0
|
adds r1, r4, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
@@ -517,7 +517,7 @@ _08017076:
|
|||||||
bl sub_81973A4
|
bl sub_81973A4
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
bl NewMenuHelpers_DrawDialogueFrame
|
bl DrawDialogueFrame
|
||||||
ldr r0, =gStringVar4
|
ldr r0, =gStringVar4
|
||||||
adds r1, r5, 0
|
adds r1, r5, 0
|
||||||
bl StringExpandPlaceholders
|
bl StringExpandPlaceholders
|
||||||
@@ -563,7 +563,7 @@ _080170CA:
|
|||||||
negs r0, r0
|
negs r0, r0
|
||||||
b _08017110
|
b _08017110
|
||||||
_080170D4:
|
_080170D4:
|
||||||
bl DisplayYesNoMenu
|
bl DisplayYesNoMenuDefaultYes
|
||||||
ldrb r0, [r4]
|
ldrb r0, [r4]
|
||||||
adds r0, 0x1
|
adds r0, 0x1
|
||||||
strb r0, [r4]
|
strb r0, [r4]
|
||||||
@@ -609,7 +609,7 @@ sub_8017118: @ 8017118
|
|||||||
lsrs r4, 24
|
lsrs r4, 24
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
bl NewMenuHelpers_DrawStdWindowFrame
|
bl DrawStdWindowFrame
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
movs r1, 0xFF
|
movs r1, 0xFF
|
||||||
bl FillWindowPixelBuffer
|
bl FillWindowPixelBuffer
|
||||||
@@ -705,7 +705,7 @@ _080171DC:
|
|||||||
strb r0, [r5]
|
strb r0, [r5]
|
||||||
ldrb r0, [r5]
|
ldrb r0, [r5]
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
bl NewMenuHelpers_DrawStdWindowFrame
|
bl DrawStdWindowFrame
|
||||||
ldr r0, =gMultiuseListMenuTemplate
|
ldr r0, =gMultiuseListMenuTemplate
|
||||||
adds r2, r0, 0
|
adds r2, r0, 0
|
||||||
ldr r1, [sp, 0x24]
|
ldr r1, [sp, 0x24]
|
||||||
@@ -745,7 +745,7 @@ _08017228:
|
|||||||
bl DestroyListMenuTask
|
bl DestroyListMenuTask
|
||||||
ldrb r0, [r5]
|
ldrb r0, [r5]
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
bl sub_819746C
|
bl ClearStdWindowAndFrame
|
||||||
ldrb r0, [r5]
|
ldrb r0, [r5]
|
||||||
bl RemoveWindow
|
bl RemoveWindow
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
@@ -765,7 +765,7 @@ _08017264:
|
|||||||
bl DestroyListMenuTask
|
bl DestroyListMenuTask
|
||||||
ldrb r0, [r5]
|
ldrb r0, [r5]
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
bl sub_819746C
|
bl ClearStdWindowAndFrame
|
||||||
ldrb r0, [r5]
|
ldrb r0, [r5]
|
||||||
bl RemoveWindow
|
bl RemoveWindow
|
||||||
strb r4, [r7]
|
strb r4, [r7]
|
||||||
@@ -818,7 +818,7 @@ _080172C8:
|
|||||||
strb r0, [r6]
|
strb r0, [r6]
|
||||||
ldrb r0, [r6]
|
ldrb r0, [r6]
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
bl NewMenuHelpers_DrawStdWindowFrame
|
bl DrawStdWindowFrame
|
||||||
ldr r0, =gMultiuseListMenuTemplate
|
ldr r0, =gMultiuseListMenuTemplate
|
||||||
adds r2, r0, 0
|
adds r2, r0, 0
|
||||||
ldr r1, [sp, 0x24]
|
ldr r1, [sp, 0x24]
|
||||||
@@ -18242,7 +18242,7 @@ sub_801FEBC: @ 801FEBC
|
|||||||
lsls r0, 24
|
lsls r0, 24
|
||||||
lsrs r0, 24
|
lsrs r0, 24
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
bl sub_8198070
|
bl ClearStdWindowAndFrameToTransparent
|
||||||
ldr r0, [r4]
|
ldr r0, [r4]
|
||||||
ldrb r0, [r0, 0x18]
|
ldrb r0, [r0, 0x18]
|
||||||
bl ClearWindowTilemap
|
bl ClearWindowTilemap
|
||||||
@@ -18470,7 +18470,7 @@ sub_8020094: @ 8020094
|
|||||||
lsls r0, 24
|
lsls r0, 24
|
||||||
lsrs r0, 24
|
lsrs r0, 24
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
bl sub_8198070
|
bl ClearStdWindowAndFrameToTransparent
|
||||||
ldr r0, [r4]
|
ldr r0, [r4]
|
||||||
ldrb r0, [r0, 0x1E]
|
ldrb r0, [r0, 0x1E]
|
||||||
bl ClearWindowTilemap
|
bl ClearWindowTilemap
|
||||||
@@ -18913,7 +18913,7 @@ sub_802040C: @ 802040C
|
|||||||
push {lr}
|
push {lr}
|
||||||
movs r0, 0x3
|
movs r0, 0x3
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
bl sub_8198070
|
bl ClearStdWindowAndFrameToTransparent
|
||||||
movs r0, 0x3
|
movs r0, 0x3
|
||||||
bl ClearWindowTilemap
|
bl ClearWindowTilemap
|
||||||
pop {r0}
|
pop {r0}
|
||||||
@@ -22378,7 +22378,7 @@ _0802210C:
|
|||||||
movs r1, 0
|
movs r1, 0
|
||||||
adds r2, r4, 0
|
adds r2, r4, 0
|
||||||
movs r3, 0xD
|
movs r3, 0xD
|
||||||
bl SetWindowBorderStyle
|
bl DrawStdFrameWithCustomTileAndPalette
|
||||||
b _08022218
|
b _08022218
|
||||||
.pool
|
.pool
|
||||||
_08022130:
|
_08022130:
|
||||||
@@ -22509,7 +22509,7 @@ sub_802222C: @ 802222C
|
|||||||
adds r5, r4, r0
|
adds r5, r4, r0
|
||||||
ldrb r0, [r5]
|
ldrb r0, [r5]
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
bl sub_8198070
|
bl ClearStdWindowAndFrameToTransparent
|
||||||
ldrb r0, [r5]
|
ldrb r0, [r5]
|
||||||
bl RemoveWindow
|
bl RemoveWindow
|
||||||
adds r0, r4, 0
|
adds r0, r4, 0
|
||||||
@@ -22577,7 +22577,7 @@ _08022296:
|
|||||||
movs r1, 0
|
movs r1, 0
|
||||||
adds r2, r4, 0
|
adds r2, r4, 0
|
||||||
movs r3, 0xD
|
movs r3, 0xD
|
||||||
bl SetWindowBorderStyle
|
bl DrawStdFrameWithCustomTileAndPalette
|
||||||
b _080224BA
|
b _080224BA
|
||||||
.pool
|
.pool
|
||||||
_080222D0:
|
_080222D0:
|
||||||
@@ -22773,7 +22773,7 @@ _08022480:
|
|||||||
_08022494:
|
_08022494:
|
||||||
ldrb r0, [r6, 0x2]
|
ldrb r0, [r6, 0x2]
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
bl sub_8198070
|
bl ClearStdWindowAndFrameToTransparent
|
||||||
ldrb r0, [r6, 0x2]
|
ldrb r0, [r6, 0x2]
|
||||||
bl ClearWindowTilemap
|
bl ClearWindowTilemap
|
||||||
ldrb r0, [r6, 0x2]
|
ldrb r0, [r6, 0x2]
|
||||||
@@ -23864,7 +23864,7 @@ _08022D38:
|
|||||||
_08022D42:
|
_08022D42:
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
bl NewMenuHelpers_DrawDialogueFrame
|
bl DrawDialogueFrame
|
||||||
ldrb r1, [r5, 0x1]
|
ldrb r1, [r5, 0x1]
|
||||||
movs r0, 0x2
|
movs r0, 0x2
|
||||||
mov r8, r0
|
mov r8, r0
|
||||||
@@ -23946,7 +23946,7 @@ _08022DE8:
|
|||||||
beq _08022DFA
|
beq _08022DFA
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
bl sub_8197434
|
bl ClearDialogWindowAndFrame
|
||||||
_08022DFA:
|
_08022DFA:
|
||||||
ldrb r0, [r7, 0xE]
|
ldrb r0, [r7, 0xE]
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
@@ -24250,7 +24250,7 @@ _0802301E:
|
|||||||
_08023044:
|
_08023044:
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
bl sub_8197434
|
bl ClearDialogWindowAndFrame
|
||||||
movs r0, 0xA
|
movs r0, 0xA
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
movs r2, 0
|
movs r2, 0
|
||||||
@@ -26462,7 +26462,7 @@ _080241A6:
|
|||||||
beq _0802421E
|
beq _0802421E
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
bl NewMenuHelpers_DrawDialogueFrame
|
bl DrawDialogueFrame
|
||||||
ldr r2, =gText_SavingDontTurnOffPower
|
ldr r2, =gText_SavingDontTurnOffPower
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
@@ -26550,7 +26550,7 @@ _08024246:
|
|||||||
strb r0, [r5, 0xC]
|
strb r0, [r5, 0xC]
|
||||||
b _080242D8
|
b _080242D8
|
||||||
_0802426A:
|
_0802426A:
|
||||||
bl DisplayYesNoMenu
|
bl DisplayYesNoMenuDefaultYes
|
||||||
b _080242D0
|
b _080242D0
|
||||||
_08024270:
|
_08024270:
|
||||||
bl Menu_ProcessInputNoWrapClearOnChoose
|
bl Menu_ProcessInputNoWrapClearOnChoose
|
||||||
@@ -26583,7 +26583,7 @@ _080242A4:
|
|||||||
_080242A6:
|
_080242A6:
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
bl sub_8197434
|
bl ClearDialogWindowAndFrame
|
||||||
movs r4, 0
|
movs r4, 0
|
||||||
str r4, [sp]
|
str r4, [sp]
|
||||||
adds r0, r6, 0
|
adds r0, r6, 0
|
||||||
@@ -26761,7 +26761,7 @@ _080243EA:
|
|||||||
_080243F6:
|
_080243F6:
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
bl sub_8197434
|
bl ClearDialogWindowAndFrame
|
||||||
adds r0, r5, 0
|
adds r0, r5, 0
|
||||||
bl sub_8021488
|
bl sub_8021488
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
@@ -26819,7 +26819,7 @@ _0802445A:
|
|||||||
_08024460:
|
_08024460:
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
bl NewMenuHelpers_DrawDialogueFrame
|
bl DrawDialogueFrame
|
||||||
ldrh r1, [r5, 0x14]
|
ldrh r1, [r5, 0x14]
|
||||||
cmp r1, 0x3
|
cmp r1, 0x3
|
||||||
bne _08024490
|
bne _08024490
|
||||||
@@ -27347,7 +27347,7 @@ sub_802482C: @ 802482C
|
|||||||
movs r1, 0
|
movs r1, 0
|
||||||
adds r2, r4, 0
|
adds r2, r4, 0
|
||||||
adds r3, r5, 0
|
adds r3, r5, 0
|
||||||
bl SetWindowBorderStyle
|
bl DrawStdFrameWithCustomTileAndPalette
|
||||||
ldr r2, =gText_Powder
|
ldr r2, =gText_Powder
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
str r0, [sp]
|
str r0, [sp]
|
||||||
@@ -27446,7 +27446,7 @@ sub_8024918: @ 8024918
|
|||||||
bl ClearWindowTilemap
|
bl ClearWindowTilemap
|
||||||
ldrb r0, [r4]
|
ldrb r0, [r4]
|
||||||
movs r1, 0x1
|
movs r1, 0x1
|
||||||
bl sub_8198070
|
bl ClearStdWindowAndFrameToTransparent
|
||||||
ldrb r0, [r4]
|
ldrb r0, [r4]
|
||||||
bl RemoveWindow
|
bl RemoveWindow
|
||||||
pop {r4}
|
pop {r4}
|
||||||
@@ -38552,7 +38552,7 @@ _0802A3A4:
|
|||||||
_0802A3AE:
|
_0802A3AE:
|
||||||
movs r0, 0
|
movs r0, 0
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
bl NewMenuHelpers_DrawDialogueFrame
|
bl DrawDialogueFrame
|
||||||
ldr r2, =gText_SavingDontTurnOffPower
|
ldr r2, =gText_SavingDontTurnOffPower
|
||||||
str r4, [sp]
|
str r4, [sp]
|
||||||
movs r0, 0x2
|
movs r0, 0x2
|
||||||
|
|||||||
@@ -108,7 +108,7 @@ sub_81D1D04: @ 81D1D04
|
|||||||
adds r4, r0
|
adds r4, r0
|
||||||
ldrb r0, [r4]
|
ldrb r0, [r4]
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
bl sub_8198070
|
bl ClearStdWindowAndFrameToTransparent
|
||||||
ldrb r0, [r4]
|
ldrb r0, [r4]
|
||||||
bl ClearWindowTilemap
|
bl ClearWindowTilemap
|
||||||
ldrb r0, [r4]
|
ldrb r0, [r4]
|
||||||
@@ -1613,7 +1613,7 @@ _081D284A:
|
|||||||
movs r1, 0
|
movs r1, 0
|
||||||
movs r2, 0x1
|
movs r2, 0x1
|
||||||
movs r3, 0xE
|
movs r3, 0xE
|
||||||
bl SetWindowBorderStyle
|
bl DrawStdFrameWithCustomTileAndPalette
|
||||||
b _081D288E
|
b _081D288E
|
||||||
.pool
|
.pool
|
||||||
_081D287C:
|
_081D287C:
|
||||||
@@ -1623,7 +1623,7 @@ _081D287C:
|
|||||||
movs r1, 0
|
movs r1, 0
|
||||||
movs r2, 0x1
|
movs r2, 0x1
|
||||||
movs r3, 0xE
|
movs r3, 0xE
|
||||||
bl SetWindowBorderStyle
|
bl DrawStdFrameWithCustomTileAndPalette
|
||||||
_081D288E:
|
_081D288E:
|
||||||
movs r0, 0x2
|
movs r0, 0x2
|
||||||
bl PutWindowTilemap
|
bl PutWindowTilemap
|
||||||
@@ -1633,12 +1633,12 @@ _081D288E:
|
|||||||
movs r1, 0
|
movs r1, 0
|
||||||
movs r2, 0x1
|
movs r2, 0x1
|
||||||
movs r3, 0xE
|
movs r3, 0xE
|
||||||
bl SetWindowBorderStyle
|
bl DrawStdFrameWithCustomTileAndPalette
|
||||||
movs r0, 0x3
|
movs r0, 0x3
|
||||||
movs r1, 0
|
movs r1, 0
|
||||||
movs r2, 0x1
|
movs r2, 0x1
|
||||||
movs r3, 0xE
|
movs r3, 0xE
|
||||||
bl SetWindowBorderStyle
|
bl DrawStdFrameWithCustomTileAndPalette
|
||||||
bl nullsub_79
|
bl nullsub_79
|
||||||
movs r0, 0x1
|
movs r0, 0x1
|
||||||
bl schedule_bg_copy_tilemap_to_vram
|
bl schedule_bg_copy_tilemap_to_vram
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
filler_03002F58
|
filler_03002F58
|
||||||
filler_03002F5C
|
filler_03002F5C
|
||||||
gUnknown_03002F60
|
gTransparentTileNumber
|
||||||
filler_03002F64
|
filler_03002F64
|
||||||
gUnknown_03002F70
|
gUnknown_03002F70
|
||||||
|
|||||||
@@ -2538,7 +2538,7 @@ BattleScript_EffectImprison::
|
|||||||
attackcanceler
|
attackcanceler
|
||||||
attackstring
|
attackstring
|
||||||
ppreduce
|
ppreduce
|
||||||
tryimprision BattleScript_ButItFailed
|
tryimprison BattleScript_ButItFailed
|
||||||
attackanimation
|
attackanimation
|
||||||
waitanimation
|
waitanimation
|
||||||
printstring STRINGID_PKMNSEALEDOPPONENTMOVE
|
printstring STRINGID_PKMNSEALEDOPPONENTMOVE
|
||||||
@@ -3684,11 +3684,11 @@ BattleScript_MoveUsedIsImprisoned::
|
|||||||
waitmessage 0x40
|
waitmessage 0x40
|
||||||
goto BattleScript_MoveEnd
|
goto BattleScript_MoveEnd
|
||||||
|
|
||||||
BattleScript_SelectingImprisionedMove::
|
BattleScript_SelectingImprisonedMove::
|
||||||
printselectionstring STRINGID_PKMNCANTUSEMOVESEALED
|
printselectionstring STRINGID_PKMNCANTUSEMOVESEALED
|
||||||
endselectionscript
|
endselectionscript
|
||||||
|
|
||||||
BattleScript_SelectingImprisionedMoveInPalace::
|
BattleScript_SelectingImprisonedMoveInPalace::
|
||||||
printstring STRINGID_PKMNCANTUSEMOVESEALED
|
printstring STRINGID_PKMNCANTUSEMOVESEALED
|
||||||
goto BattleScript_SelectingUnusableMoveInPalace
|
goto BattleScript_SelectingUnusableMoveInPalace
|
||||||
|
|
||||||
@@ -3876,7 +3876,7 @@ BattleScript_MoveUsedIsInLove::
|
|||||||
status2animation BS_ATTACKER, STATUS2_INFATUATION
|
status2animation BS_ATTACKER, STATUS2_INFATUATION
|
||||||
return
|
return
|
||||||
|
|
||||||
BattleScript_MoveUsedIsParalyzedCantAttack::
|
BattleScript_MoveUsedIsInLoveCantAttack::
|
||||||
printstring STRINGID_PKMNIMMOBILIZEDBYLOVE
|
printstring STRINGID_PKMNIMMOBILIZEDBYLOVE
|
||||||
waitmessage 0x40
|
waitmessage 0x40
|
||||||
goto BattleScript_MoveEnd
|
goto BattleScript_MoveEnd
|
||||||
|
|||||||
@@ -17,6 +17,8 @@
|
|||||||
#include "constants/trainers.h"
|
#include "constants/trainers.h"
|
||||||
#include "constants/vars.h"
|
#include "constants/vars.h"
|
||||||
#include "constants/weather.h"
|
#include "constants/weather.h"
|
||||||
|
#include "constants/trainer_hill.h"
|
||||||
|
#include "constants/battle.h"
|
||||||
.include "asm/macros.inc"
|
.include "asm/macros.inc"
|
||||||
.include "asm/macros/event.inc"
|
.include "asm/macros/event.inc"
|
||||||
.include "constants/constants.inc"
|
.include "constants/constants.inc"
|
||||||
@@ -47,7 +49,7 @@ gSpecialVars:: @ 81DBA0C
|
|||||||
.4byte gSpecialVar_ContestCategory
|
.4byte gSpecialVar_ContestCategory
|
||||||
.4byte gSpecialVar_MonBoxId
|
.4byte gSpecialVar_MonBoxId
|
||||||
.4byte gSpecialVar_MonBoxPos
|
.4byte gSpecialVar_MonBoxPos
|
||||||
.4byte gSpecialVar_0x8014
|
.4byte gSpecialVar_Unused_0x8014
|
||||||
.4byte gTrainerBattleOpponent_A
|
.4byte gTrainerBattleOpponent_A
|
||||||
|
|
||||||
.include "data/specials.inc"
|
.include "data/specials.inc"
|
||||||
@@ -1094,7 +1096,7 @@ EverGrandeCity_HallOfFame_EventScript_2717C1:: @ 82717C1
|
|||||||
special sub_81AFDD0
|
special sub_81AFDD0
|
||||||
setflag FLAG_IS_CHAMPION
|
setflag FLAG_IS_CHAMPION
|
||||||
call EverGrandeCity_HallOfFame_EventScript_271829
|
call EverGrandeCity_HallOfFame_EventScript_271829
|
||||||
compare VAR_0x40CC, 0
|
compare VAR_FOSSIL_MANIAC_STATE, 0
|
||||||
call_if_eq EverGrandeCity_HallOfFame_EventScript_271839
|
call_if_eq EverGrandeCity_HallOfFame_EventScript_271839
|
||||||
clearflag FLAG_HIDE_LILCOVE_MOTEL_GAME_DESIGNERS
|
clearflag FLAG_HIDE_LILCOVE_MOTEL_GAME_DESIGNERS
|
||||||
call EverGrandeCity_HallOfFame_EventScript_2718CC
|
call EverGrandeCity_HallOfFame_EventScript_2718CC
|
||||||
@@ -1127,7 +1129,7 @@ EverGrandeCity_HallOfFame_EventScript_271829:: @ 8271829
|
|||||||
return
|
return
|
||||||
|
|
||||||
EverGrandeCity_HallOfFame_EventScript_271839:: @ 8271839
|
EverGrandeCity_HallOfFame_EventScript_271839:: @ 8271839
|
||||||
setvar VAR_0x40CC, 1
|
setvar VAR_FOSSIL_MANIAC_STATE, 1
|
||||||
return
|
return
|
||||||
|
|
||||||
EverGrandeCity_HallOfFame_EventScript_27183F:: @ 827183F
|
EverGrandeCity_HallOfFame_EventScript_27183F:: @ 827183F
|
||||||
@@ -2699,10 +2701,10 @@ gUnknown_08273594:: @ 8273594
|
|||||||
gUnknown_082735F2:: @ 82735F2
|
gUnknown_082735F2:: @ 82735F2
|
||||||
.string "It appears to be for use at\nthe LILYCOVE CITY port.\pWhy not give it a try and see what\nit is about?$"
|
.string "It appears to be for use at\nthe LILYCOVE CITY port.\pWhy not give it a try and see what\nit is about?$"
|
||||||
|
|
||||||
gUnknown_08273656:: @ 8273656
|
gText_UnusualWeatherEnded_Rain:: @ 8273656
|
||||||
.string "The massive downpour appears to\nhave stopped…$"
|
.string "The massive downpour appears to\nhave stopped…$"
|
||||||
|
|
||||||
gUnknown_08273684:: @ 8273684
|
gText_UnusualWeatherEnded_Sun:: @ 8273684
|
||||||
.string "The intense sunshine appears to\nhave subsided…$"
|
.string "The intense sunshine appears to\nhave subsided…$"
|
||||||
|
|
||||||
EventScript_2736B3:: @ 82736B3
|
EventScript_2736B3:: @ 82736B3
|
||||||
@@ -2750,7 +2752,7 @@ EventScript_2736F8:: @ 82736F8
|
|||||||
goto_if_eq BattleFrontier_BattlePyramidTop_EventScript_252B42
|
goto_if_eq BattleFrontier_BattlePyramidTop_EventScript_252B42
|
||||||
compare VAR_RESULT, 2
|
compare VAR_RESULT, 2
|
||||||
goto_if_eq BattleFrontier_BattlePyramidTop_EventScript_252B42
|
goto_if_eq BattleFrontier_BattlePyramidTop_EventScript_252B42
|
||||||
setvar VAR_0x8004, 10
|
setvar VAR_0x8004, TRAINER_HILL_FUNC_10
|
||||||
special CallTrainerHillFunction
|
special CallTrainerHillFunction
|
||||||
compare VAR_RESULT, 1
|
compare VAR_RESULT, 1
|
||||||
goto_if_eq TrainerHill_1F_EventScript_2C83C9
|
goto_if_eq TrainerHill_1F_EventScript_2C83C9
|
||||||
@@ -2991,47 +2993,47 @@ EventScript_2738FF:: @ 82738FF
|
|||||||
releaseall
|
releaseall
|
||||||
end
|
end
|
||||||
|
|
||||||
Route114_EventScript_273913:: @ 8273913
|
UnusualWeather_EventScript_PlaceTilesRoute114North:: @ 8273913
|
||||||
setmetatile 7, 3, 839, 1
|
setmetatile 7, 3, 839, 1
|
||||||
setmetatile 7, 4, 847, 0
|
setmetatile 7, 4, 847, 0
|
||||||
return
|
return
|
||||||
|
|
||||||
Route114_EventScript_273926:: @ 8273926
|
UnusualWeather_EventScript_PlaceTilesRoute114South:: @ 8273926
|
||||||
setmetatile 6, 45, 601, 1
|
setmetatile 6, 45, 601, 1
|
||||||
setmetatile 6, 46, 609, 0
|
setmetatile 6, 46, 609, 0
|
||||||
return
|
return
|
||||||
|
|
||||||
Route115_EventScript_273939:: @ 8273939
|
UnusualWeather_EventScript_PlaceTilesRoute115West:: @ 8273939
|
||||||
setmetatile 21, 5, 601, 1
|
setmetatile 21, 5, 601, 1
|
||||||
setmetatile 21, 6, 609, 0
|
setmetatile 21, 6, 609, 0
|
||||||
return
|
return
|
||||||
|
|
||||||
Route115_EventScript_27394C:: @ 827394C
|
UnusualWeather_EventScript_PlaceTilesRoute115East:: @ 827394C
|
||||||
setmetatile 36, 9, 601, 1
|
setmetatile 36, 9, 601, 1
|
||||||
setmetatile 36, 10, 609, 0
|
setmetatile 36, 10, 609, 0
|
||||||
return
|
return
|
||||||
|
|
||||||
Route116_EventScript_27395F:: @ 827395F
|
UnusualWeather_EventScript_PlaceTilesRoute116North:: @ 827395F
|
||||||
setmetatile 59, 12, 159, 1
|
setmetatile 59, 12, 159, 1
|
||||||
setmetatile 59, 13, 167, 0
|
setmetatile 59, 13, 167, 0
|
||||||
return
|
return
|
||||||
|
|
||||||
Route116_EventScript_273972:: @ 8273972
|
UnusualWeather_EventScript_PlaceTilesRoute116South:: @ 8273972
|
||||||
setmetatile 79, 5, 159, 1
|
setmetatile 79, 5, 159, 1
|
||||||
setmetatile 79, 6, 167, 0
|
setmetatile 79, 6, 167, 0
|
||||||
return
|
return
|
||||||
|
|
||||||
Route118_EventScript_273985:: @ 8273985
|
UnusualWeather_EventScript_PlaceTilesRoute118East:: @ 8273985
|
||||||
setmetatile 42, 5, 159, 1
|
setmetatile 42, 5, 159, 1
|
||||||
setmetatile 42, 6, 167, 0
|
setmetatile 42, 6, 167, 0
|
||||||
return
|
return
|
||||||
|
|
||||||
Route118_EventScript_273998:: @ 8273998
|
UnusualWeather_EventScript_PlaceTilesRoute118West:: @ 8273998
|
||||||
setmetatile 9, 5, 159, 1
|
setmetatile 9, 5, 159, 1
|
||||||
setmetatile 9, 6, 167, 0
|
setmetatile 9, 6, 167, 0
|
||||||
return
|
return
|
||||||
|
|
||||||
Route105_EventScript_2739AB:: @ 82739AB
|
UnusualWeather_EventScript_PlaceTilesRoute105North:: @ 82739AB
|
||||||
setmetatile 10, 28, 334, 0
|
setmetatile 10, 28, 334, 0
|
||||||
setmetatile 11, 28, 334, 0
|
setmetatile 11, 28, 334, 0
|
||||||
setmetatile 9, 29, 334, 0
|
setmetatile 9, 29, 334, 0
|
||||||
@@ -3046,7 +3048,7 @@ Route105_EventScript_2739AB:: @ 82739AB
|
|||||||
setmetatile 11, 31, 334, 0
|
setmetatile 11, 31, 334, 0
|
||||||
return
|
return
|
||||||
|
|
||||||
Route105_EventScript_273A18:: @ 8273A18
|
UnusualWeather_EventScript_PlaceTilesRoute105South:: @ 8273A18
|
||||||
setmetatile 20, 53, 334, 0
|
setmetatile 20, 53, 334, 0
|
||||||
setmetatile 21, 53, 334, 0
|
setmetatile 21, 53, 334, 0
|
||||||
setmetatile 19, 54, 334, 0
|
setmetatile 19, 54, 334, 0
|
||||||
@@ -3061,7 +3063,7 @@ Route105_EventScript_273A18:: @ 8273A18
|
|||||||
setmetatile 21, 56, 334, 0
|
setmetatile 21, 56, 334, 0
|
||||||
return
|
return
|
||||||
|
|
||||||
Route125_EventScript_273A85:: @ 8273A85
|
UnusualWeather_EventScript_PlaceTilesRoute125West:: @ 8273A85
|
||||||
setmetatile 8, 16, 334, 0
|
setmetatile 8, 16, 334, 0
|
||||||
setmetatile 9, 16, 334, 0
|
setmetatile 9, 16, 334, 0
|
||||||
setmetatile 7, 17, 334, 0
|
setmetatile 7, 17, 334, 0
|
||||||
@@ -3076,7 +3078,7 @@ Route125_EventScript_273A85:: @ 8273A85
|
|||||||
setmetatile 9, 19, 334, 0
|
setmetatile 9, 19, 334, 0
|
||||||
return
|
return
|
||||||
|
|
||||||
Route125_EventScript_273AF2:: @ 8273AF2
|
UnusualWeather_EventScript_PlaceTilesRoute125East:: @ 8273AF2
|
||||||
setmetatile 53, 18, 334, 0
|
setmetatile 53, 18, 334, 0
|
||||||
setmetatile 54, 18, 334, 0
|
setmetatile 54, 18, 334, 0
|
||||||
setmetatile 52, 19, 334, 0
|
setmetatile 52, 19, 334, 0
|
||||||
@@ -3091,7 +3093,7 @@ Route125_EventScript_273AF2:: @ 8273AF2
|
|||||||
setmetatile 54, 21, 334, 0
|
setmetatile 54, 21, 334, 0
|
||||||
return
|
return
|
||||||
|
|
||||||
Route127_EventScript_273B5F:: @ 8273B5F
|
UnusualWeather_EventScript_PlaceTilesRoute127North:: @ 8273B5F
|
||||||
setmetatile 57, 9, 334, 0
|
setmetatile 57, 9, 334, 0
|
||||||
setmetatile 58, 9, 334, 0
|
setmetatile 58, 9, 334, 0
|
||||||
setmetatile 56, 10, 334, 0
|
setmetatile 56, 10, 334, 0
|
||||||
@@ -3106,7 +3108,7 @@ Route127_EventScript_273B5F:: @ 8273B5F
|
|||||||
setmetatile 58, 12, 334, 0
|
setmetatile 58, 12, 334, 0
|
||||||
return
|
return
|
||||||
|
|
||||||
Route127_EventScript_273BCC:: @ 8273BCC
|
UnusualWeather_EventScript_PlaceTilesRoute127South:: @ 8273BCC
|
||||||
setmetatile 61, 30, 334, 0
|
setmetatile 61, 30, 334, 0
|
||||||
setmetatile 62, 30, 334, 0
|
setmetatile 62, 30, 334, 0
|
||||||
setmetatile 60, 31, 334, 0
|
setmetatile 60, 31, 334, 0
|
||||||
@@ -3121,7 +3123,7 @@ Route127_EventScript_273BCC:: @ 8273BCC
|
|||||||
setmetatile 62, 33, 334, 0
|
setmetatile 62, 33, 334, 0
|
||||||
return
|
return
|
||||||
|
|
||||||
Route129_EventScript_273C39:: @ 8273C39
|
UnusualWeather_EventScript_PlaceTilesRoute129West:: @ 8273C39
|
||||||
setmetatile 16, 14, 334, 0
|
setmetatile 16, 14, 334, 0
|
||||||
setmetatile 17, 14, 334, 0
|
setmetatile 17, 14, 334, 0
|
||||||
setmetatile 15, 15, 334, 0
|
setmetatile 15, 15, 334, 0
|
||||||
@@ -3136,7 +3138,7 @@ Route129_EventScript_273C39:: @ 8273C39
|
|||||||
setmetatile 17, 17, 334, 0
|
setmetatile 17, 17, 334, 0
|
||||||
return
|
return
|
||||||
|
|
||||||
Route129_EventScript_273CA6:: @ 8273CA6
|
UnusualWeather_EventScript_PlaceTilesRoute129East:: @ 8273CA6
|
||||||
setmetatile 42, 19, 334, 0
|
setmetatile 42, 19, 334, 0
|
||||||
setmetatile 43, 19, 334, 0
|
setmetatile 43, 19, 334, 0
|
||||||
setmetatile 41, 20, 334, 0
|
setmetatile 41, 20, 334, 0
|
||||||
@@ -3162,114 +3164,106 @@ Route129_EventScript_273D13:: @ 8273D13
|
|||||||
setflag FLAG_SPECIAL_FLAG_0x4000
|
setflag FLAG_SPECIAL_FLAG_0x4000
|
||||||
return
|
return
|
||||||
|
|
||||||
Route105_EventScript_273D17:: @ 8273D17
|
UnusualWeather_StartKyogreWeather:: @ 8273D17
|
||||||
Route125_EventScript_273D17:: @ 8273D17
|
|
||||||
Route127_EventScript_273D17:: @ 8273D17
|
|
||||||
Route129_EventScript_273D17:: @ 8273D17
|
|
||||||
setweather WEATHER_RAIN_HEAVY
|
setweather WEATHER_RAIN_HEAVY
|
||||||
return
|
return
|
||||||
|
|
||||||
Route114_EventScript_273D1B:: @ 8273D1B
|
UnusualWeather_StartGroudonWeather:: @ 8273D1B
|
||||||
Route115_EventScript_273D1B:: @ 8273D1B
|
|
||||||
Route116_EventScript_273D1B:: @ 8273D1B
|
|
||||||
Route118_EventScript_273D1B:: @ 8273D1B
|
|
||||||
setweather WEATHER_DROUGHT
|
setweather WEATHER_DROUGHT
|
||||||
return
|
return
|
||||||
|
|
||||||
gUnknown_08273D1F:: @ 8273D1F
|
UnusualWeather_EventScript_EndEventAndCleanup_1:: @ 8273D1F
|
||||||
|
|
||||||
gUnknown_08273D1F:: @ 8273D1F
|
|
||||||
lockall
|
lockall
|
||||||
compare VAR_0x4037, 9
|
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_KYOGRE_LOCATIONS_START
|
||||||
goto_if_ge Route105_EventScript_273D51
|
goto_if_ge UnusualWeather_EventScript_ShowRainEndedMessage
|
||||||
goto Route105_EventScript_273D5F
|
goto UnusualWeather_EventScript_ShowSunEndedMessage
|
||||||
end
|
end
|
||||||
|
|
||||||
Route105_EventScript_273D31:: @ 8273D31
|
UnusualWeather_EventScript_EndEventAndCleanup_2:: @ 8273D31
|
||||||
closemessage
|
closemessage
|
||||||
fadescreenswapbuffers 1
|
fadescreenswapbuffers 1
|
||||||
setweather WEATHER_SUNNY
|
setweather WEATHER_SUNNY
|
||||||
doweather
|
doweather
|
||||||
call Route105_EventScript_273D6D
|
call UnusualWeather_EventScript_CleanupMapTiles
|
||||||
special DrawWholeMapView
|
special DrawWholeMapView
|
||||||
setvar VAR_0x4037, 0
|
setvar VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_NONE
|
||||||
setvar VAR_0x4039, 0
|
setvar VAR_SHOULD_END_UNUSUAL_WEATHER, 0
|
||||||
clearflag FLAG_SPECIAL_FLAG_0x4000
|
clearflag FLAG_SPECIAL_FLAG_0x4000
|
||||||
fadescreenswapbuffers 0
|
fadescreenswapbuffers 0
|
||||||
releaseall
|
releaseall
|
||||||
end
|
end
|
||||||
|
|
||||||
Route105_EventScript_273D51:: @ 8273D51
|
UnusualWeather_EventScript_ShowRainEndedMessage:: @ 8273D51
|
||||||
msgbox gUnknown_08273656, MSGBOX_DEFAULT
|
msgbox gText_UnusualWeatherEnded_Rain, MSGBOX_DEFAULT
|
||||||
goto Route105_EventScript_273D31
|
goto UnusualWeather_EventScript_EndEventAndCleanup_2
|
||||||
end
|
end
|
||||||
|
|
||||||
Route105_EventScript_273D5F:: @ 8273D5F
|
UnusualWeather_EventScript_ShowSunEndedMessage:: @ 8273D5F
|
||||||
msgbox gUnknown_08273684, MSGBOX_DEFAULT
|
msgbox gText_UnusualWeatherEnded_Sun, MSGBOX_DEFAULT
|
||||||
goto Route105_EventScript_273D31
|
goto UnusualWeather_EventScript_EndEventAndCleanup_2
|
||||||
end
|
end
|
||||||
|
|
||||||
Route105_EventScript_273D6D:: @ 8273D6D
|
UnusualWeather_EventScript_CleanupMapTiles:: @ 8273D6D
|
||||||
switch VAR_0x4037
|
switch VAR_UNUSUAL_WEATHER_LOCATION
|
||||||
case 1, Route105_EventScript_273E23
|
case UNUSUAL_WEATHER_ROUTE_114_NORTH, UnusualWeather_EventScript_CleanupRoute114North
|
||||||
case 2, Route105_EventScript_273E36
|
case UNUSUAL_WEATHER_ROUTE_114_SOUTH, UnusualWeather_EventScript_CleanupRoute114South
|
||||||
case 3, Route105_EventScript_273E49
|
case UNUSUAL_WEATHER_ROUTE_115_WEST, UnusualWeather_EventScript_CleanupRoute115West
|
||||||
case 4, Route105_EventScript_273E5C
|
case UNUSUAL_WEATHER_ROUTE_115_EAST, UnusualWeather_EventScript_CleanupRoute115East
|
||||||
case 5, Route105_EventScript_273E6F
|
case UNUSUAL_WEATHER_ROUTE_116_NORTH, UnusualWeather_EventScript_CleanupRoute116North
|
||||||
case 6, Route105_EventScript_273E82
|
case UNUSUAL_WEATHER_ROUTE_116_SOUTH, UnusualWeather_EventScript_CleanupRoute116South
|
||||||
case 7, Route105_EventScript_273E95
|
case UNUSUAL_WEATHER_ROUTE_118_EAST, UnusualWeather_EventScript_CleanupRoute118East
|
||||||
case 8, Route105_EventScript_273EA8
|
case UNUSUAL_WEATHER_ROUTE_118_WEST, UnusualWeather_EventScript_CleanupRoute118West
|
||||||
case 9, Route105_EventScript_273EBB
|
case UNUSUAL_WEATHER_ROUTE_105_NORTH, UnusualWeather_EventScript_CleanupRoute105North
|
||||||
case 10, Route105_EventScript_273F28
|
case UNUSUAL_WEATHER_ROUTE_105_SOUTH, UnusualWeather_EventScript_CleanupRoute105South
|
||||||
case 11, Route105_EventScript_273F95
|
case UNUSUAL_WEATHER_ROUTE_125_WEST, UnusualWeather_EventScript_CleanupRoute125West
|
||||||
case 12, Route105_EventScript_274002
|
case UNUSUAL_WEATHER_ROUTE_125_EAST, UnusualWeather_EventScript_CleanupRoute125East
|
||||||
case 13, Route105_EventScript_27406F
|
case UNUSUAL_WEATHER_ROUTE_127_NORTH, UnusualWeather_EventScript_CleanupRoute127North
|
||||||
case 14, Route105_EventScript_2740DC
|
case UNUSUAL_WEATHER_ROUTE_127_SOUTH, UnusualWeather_EventScript_CleanupRoute127South
|
||||||
case 15, Route105_EventScript_274149
|
case UNUSUAL_WEATHER_ROUTE_129_WEST, UnusualWeather_EventScript_CleanupRoute129West
|
||||||
case 16, Route105_EventScript_2741B6
|
case UNUSUAL_WEATHER_ROUTE_129_EAST, UnusualWeather_EventScript_CleanupRoute129East
|
||||||
return
|
return
|
||||||
|
|
||||||
Route105_EventScript_273E23:: @ 8273E23
|
UnusualWeather_EventScript_CleanupRoute114North:: @ 8273E23
|
||||||
setmetatile 7, 3, 617, 1
|
setmetatile 7, 3, 617, 1
|
||||||
setmetatile 7, 4, 617, 1
|
setmetatile 7, 4, 617, 1
|
||||||
return
|
return
|
||||||
|
|
||||||
Route105_EventScript_273E36:: @ 8273E36
|
UnusualWeather_EventScript_CleanupRoute114South:: @ 8273E36
|
||||||
setmetatile 6, 45, 613, 1
|
setmetatile 6, 45, 613, 1
|
||||||
setmetatile 6, 46, 613, 1
|
setmetatile 6, 46, 613, 1
|
||||||
return
|
return
|
||||||
|
|
||||||
Route105_EventScript_273E49:: @ 8273E49
|
UnusualWeather_EventScript_CleanupRoute115West:: @ 8273E49
|
||||||
setmetatile 21, 5, 613, 1
|
setmetatile 21, 5, 613, 1
|
||||||
setmetatile 21, 6, 613, 1
|
setmetatile 21, 6, 613, 1
|
||||||
return
|
return
|
||||||
|
|
||||||
Route105_EventScript_273E5C:: @ 8273E5C
|
UnusualWeather_EventScript_CleanupRoute115East:: @ 8273E5C
|
||||||
setmetatile 36, 9, 613, 1
|
setmetatile 36, 9, 613, 1
|
||||||
setmetatile 36, 10, 613, 1
|
setmetatile 36, 10, 613, 1
|
||||||
return
|
return
|
||||||
|
|
||||||
Route105_EventScript_273E6F:: @ 8273E6F
|
UnusualWeather_EventScript_CleanupRoute116North:: @ 8273E6F
|
||||||
setmetatile 59, 12, 124, 1
|
setmetatile 59, 12, 124, 1
|
||||||
setmetatile 59, 13, 124, 1
|
setmetatile 59, 13, 124, 1
|
||||||
return
|
return
|
||||||
|
|
||||||
Route105_EventScript_273E82:: @ 8273E82
|
UnusualWeather_EventScript_CleanupRoute116South:: @ 8273E82
|
||||||
setmetatile 79, 5, 124, 1
|
setmetatile 79, 5, 124, 1
|
||||||
setmetatile 79, 6, 124, 1
|
setmetatile 79, 6, 124, 1
|
||||||
return
|
return
|
||||||
|
|
||||||
Route105_EventScript_273E95:: @ 8273E95
|
UnusualWeather_EventScript_CleanupRoute118East:: @ 8273E95
|
||||||
setmetatile 42, 5, 124, 1
|
setmetatile 42, 5, 124, 1
|
||||||
setmetatile 42, 6, 121, 1
|
setmetatile 42, 6, 121, 1
|
||||||
return
|
return
|
||||||
|
|
||||||
Route105_EventScript_273EA8:: @ 8273EA8
|
UnusualWeather_EventScript_CleanupRoute118West:: @ 8273EA8
|
||||||
setmetatile 9, 5, 124, 1
|
setmetatile 9, 5, 124, 1
|
||||||
setmetatile 9, 6, 121, 1
|
setmetatile 9, 6, 121, 1
|
||||||
return
|
return
|
||||||
|
|
||||||
Route105_EventScript_273EBB:: @ 8273EBB
|
UnusualWeather_EventScript_CleanupRoute105North:: @ 8273EBB
|
||||||
setmetatile 10, 28, 368, 0
|
setmetatile 10, 28, 368, 0
|
||||||
setmetatile 11, 28, 368, 0
|
setmetatile 11, 28, 368, 0
|
||||||
setmetatile 9, 29, 368, 0
|
setmetatile 9, 29, 368, 0
|
||||||
@@ -3284,7 +3278,7 @@ Route105_EventScript_273EBB:: @ 8273EBB
|
|||||||
setmetatile 11, 31, 368, 0
|
setmetatile 11, 31, 368, 0
|
||||||
return
|
return
|
||||||
|
|
||||||
Route105_EventScript_273F28:: @ 8273F28
|
UnusualWeather_EventScript_CleanupRoute105South:: @ 8273F28
|
||||||
setmetatile 20, 53, 368, 0
|
setmetatile 20, 53, 368, 0
|
||||||
setmetatile 21, 53, 368, 0
|
setmetatile 21, 53, 368, 0
|
||||||
setmetatile 19, 54, 368, 0
|
setmetatile 19, 54, 368, 0
|
||||||
@@ -3299,7 +3293,7 @@ Route105_EventScript_273F28:: @ 8273F28
|
|||||||
setmetatile 21, 56, 368, 0
|
setmetatile 21, 56, 368, 0
|
||||||
return
|
return
|
||||||
|
|
||||||
Route105_EventScript_273F95:: @ 8273F95
|
UnusualWeather_EventScript_CleanupRoute125West:: @ 8273F95
|
||||||
setmetatile 8, 16, 368, 0
|
setmetatile 8, 16, 368, 0
|
||||||
setmetatile 9, 16, 368, 0
|
setmetatile 9, 16, 368, 0
|
||||||
setmetatile 7, 17, 368, 0
|
setmetatile 7, 17, 368, 0
|
||||||
@@ -3314,7 +3308,7 @@ Route105_EventScript_273F95:: @ 8273F95
|
|||||||
setmetatile 9, 19, 368, 0
|
setmetatile 9, 19, 368, 0
|
||||||
return
|
return
|
||||||
|
|
||||||
Route105_EventScript_274002:: @ 8274002
|
UnusualWeather_EventScript_CleanupRoute125East:: @ 8274002
|
||||||
setmetatile 53, 18, 368, 0
|
setmetatile 53, 18, 368, 0
|
||||||
setmetatile 54, 18, 368, 0
|
setmetatile 54, 18, 368, 0
|
||||||
setmetatile 52, 19, 368, 0
|
setmetatile 52, 19, 368, 0
|
||||||
@@ -3329,7 +3323,7 @@ Route105_EventScript_274002:: @ 8274002
|
|||||||
setmetatile 54, 21, 368, 0
|
setmetatile 54, 21, 368, 0
|
||||||
return
|
return
|
||||||
|
|
||||||
Route105_EventScript_27406F:: @ 827406F
|
UnusualWeather_EventScript_CleanupRoute127North:: @ 827406F
|
||||||
setmetatile 57, 9, 368, 0
|
setmetatile 57, 9, 368, 0
|
||||||
setmetatile 58, 9, 368, 0
|
setmetatile 58, 9, 368, 0
|
||||||
setmetatile 56, 10, 368, 0
|
setmetatile 56, 10, 368, 0
|
||||||
@@ -3344,7 +3338,7 @@ Route105_EventScript_27406F:: @ 827406F
|
|||||||
setmetatile 58, 12, 368, 0
|
setmetatile 58, 12, 368, 0
|
||||||
return
|
return
|
||||||
|
|
||||||
Route105_EventScript_2740DC:: @ 82740DC
|
UnusualWeather_EventScript_CleanupRoute127South:: @ 82740DC
|
||||||
setmetatile 61, 30, 368, 0
|
setmetatile 61, 30, 368, 0
|
||||||
setmetatile 62, 30, 368, 0
|
setmetatile 62, 30, 368, 0
|
||||||
setmetatile 60, 31, 368, 0
|
setmetatile 60, 31, 368, 0
|
||||||
@@ -3359,7 +3353,7 @@ Route105_EventScript_2740DC:: @ 82740DC
|
|||||||
setmetatile 62, 33, 368, 0
|
setmetatile 62, 33, 368, 0
|
||||||
return
|
return
|
||||||
|
|
||||||
Route105_EventScript_274149:: @ 8274149
|
UnusualWeather_EventScript_CleanupRoute129West:: @ 8274149
|
||||||
setmetatile 16, 14, 368, 0
|
setmetatile 16, 14, 368, 0
|
||||||
setmetatile 17, 14, 368, 0
|
setmetatile 17, 14, 368, 0
|
||||||
setmetatile 15, 15, 368, 0
|
setmetatile 15, 15, 368, 0
|
||||||
@@ -3374,7 +3368,7 @@ Route105_EventScript_274149:: @ 8274149
|
|||||||
setmetatile 17, 17, 368, 0
|
setmetatile 17, 17, 368, 0
|
||||||
return
|
return
|
||||||
|
|
||||||
Route105_EventScript_2741B6:: @ 82741B6
|
UnusualWeather_EventScript_CleanupRoute129East:: @ 82741B6
|
||||||
setmetatile 42, 19, 368, 0
|
setmetatile 42, 19, 368, 0
|
||||||
setmetatile 43, 19, 368, 0
|
setmetatile 43, 19, 368, 0
|
||||||
setmetatile 41, 20, 368, 0
|
setmetatile 41, 20, 368, 0
|
||||||
@@ -3389,50 +3383,47 @@ Route105_EventScript_2741B6:: @ 82741B6
|
|||||||
setmetatile 43, 22, 368, 0
|
setmetatile 43, 22, 368, 0
|
||||||
return
|
return
|
||||||
|
|
||||||
Underwater3_EventScript_274223:: @ 8274223
|
UnusualWeather_Underwater_SetupEscapeWarp:: @ 8274223
|
||||||
Underwater5_EventScript_274223:: @ 8274223
|
switch VAR_UNUSUAL_WEATHER_LOCATION
|
||||||
Underwater6_EventScript_274223:: @ 8274223
|
case UNUSUAL_WEATHER_ROUTE_105_NORTH, UnusualWeather_Underwater_SetupEscapeWarpRoute105North
|
||||||
Underwater7_EventScript_274223:: @ 8274223
|
case UNUSUAL_WEATHER_ROUTE_105_SOUTH, UnusualWeather_Underwater_SetupEscapeWarpRoute105South
|
||||||
switch VAR_0x4037
|
case UNUSUAL_WEATHER_ROUTE_125_WEST, UnusualWeather_Underwater_SetupEscapeWarpRoute125West
|
||||||
case 9, Underwater3_EventScript_274281
|
case UNUSUAL_WEATHER_ROUTE_125_EAST, UnusualWeather_Underwater_SetupEscapeWarpRoute125East
|
||||||
case 10, Underwater3_EventScript_27428A
|
case UNUSUAL_WEATHER_ROUTE_127_NORTH, UnusualWeather_Underwater_SetupEscapeWarpRoute127North
|
||||||
case 11, Underwater3_EventScript_274293
|
case UNUSUAL_WEATHER_ROUTE_127_SOUTH, UnusualWeather_Underwater_SetupEscapeWarpRoute127South
|
||||||
case 12, Underwater3_EventScript_27429C
|
case UNUSUAL_WEATHER_ROUTE_129_WEST, UnusualWeather_Underwater_SetupEscapeWarpRoute129West
|
||||||
case 13, Underwater3_EventScript_2742A5
|
case UNUSUAL_WEATHER_ROUTE_129_EAST, UnusualWeather_Underwater_SetupEscapeWarpRoute129East
|
||||||
case 14, Underwater3_EventScript_2742AE
|
|
||||||
case 15, Underwater3_EventScript_2742B7
|
|
||||||
case 16, Underwater3_EventScript_2742C0
|
|
||||||
return
|
return
|
||||||
|
|
||||||
Underwater3_EventScript_274281:: @ 8274281
|
UnusualWeather_Underwater_SetupEscapeWarpRoute105North:: @ 8274281
|
||||||
setescapewarp MAP_ROUTE105, 255, 11, 29
|
setescapewarp MAP_ROUTE105, 255, 11, 29
|
||||||
return
|
return
|
||||||
|
|
||||||
Underwater3_EventScript_27428A:: @ 827428A
|
UnusualWeather_Underwater_SetupEscapeWarpRoute105South:: @ 827428A
|
||||||
setescapewarp MAP_ROUTE105, 255, 21, 54
|
setescapewarp MAP_ROUTE105, 255, 21, 54
|
||||||
return
|
return
|
||||||
|
|
||||||
Underwater3_EventScript_274293:: @ 8274293
|
UnusualWeather_Underwater_SetupEscapeWarpRoute125West:: @ 8274293
|
||||||
setescapewarp MAP_ROUTE125, 255, 9, 17
|
setescapewarp MAP_ROUTE125, 255, 9, 17
|
||||||
return
|
return
|
||||||
|
|
||||||
Underwater3_EventScript_27429C:: @ 827429C
|
UnusualWeather_Underwater_SetupEscapeWarpRoute125East:: @ 827429C
|
||||||
setescapewarp MAP_ROUTE125, 255, 54, 19
|
setescapewarp MAP_ROUTE125, 255, 54, 19
|
||||||
return
|
return
|
||||||
|
|
||||||
Underwater3_EventScript_2742A5:: @ 82742A5
|
UnusualWeather_Underwater_SetupEscapeWarpRoute127North:: @ 82742A5
|
||||||
setescapewarp MAP_ROUTE127, 255, 58, 10
|
setescapewarp MAP_ROUTE127, 255, 58, 10
|
||||||
return
|
return
|
||||||
|
|
||||||
Underwater3_EventScript_2742AE:: @ 82742AE
|
UnusualWeather_Underwater_SetupEscapeWarpRoute127South:: @ 82742AE
|
||||||
setescapewarp MAP_ROUTE127, 255, 62, 31
|
setescapewarp MAP_ROUTE127, 255, 62, 31
|
||||||
return
|
return
|
||||||
|
|
||||||
Underwater3_EventScript_2742B7:: @ 82742B7
|
UnusualWeather_Underwater_SetupEscapeWarpRoute129West:: @ 82742B7
|
||||||
setescapewarp MAP_ROUTE129, 255, 17, 15
|
setescapewarp MAP_ROUTE129, 255, 17, 15
|
||||||
return
|
return
|
||||||
|
|
||||||
Underwater3_EventScript_2742C0:: @ 82742C0
|
UnusualWeather_Underwater_SetupEscapeWarpRoute129East:: @ 82742C0
|
||||||
setescapewarp MAP_ROUTE129, 255, 43, 20
|
setescapewarp MAP_ROUTE129, 255, 43, 20
|
||||||
return
|
return
|
||||||
|
|
||||||
@@ -6928,16 +6919,16 @@ TrainerHill_3F_MapScript1_2C8336: @ 82C8336
|
|||||||
TrainerHill_4F_MapScript1_2C8336: @ 82C8336
|
TrainerHill_4F_MapScript1_2C8336: @ 82C8336
|
||||||
TrainerHill_Roof_MapScript1_2C8336: @ 82C8336
|
TrainerHill_Roof_MapScript1_2C8336: @ 82C8336
|
||||||
setvar VAR_TEMP_2, 0
|
setvar VAR_TEMP_2, 0
|
||||||
setvar VAR_0x8004, 4
|
setvar VAR_0x8004, TRAINER_HILL_FUNC_RESUME_TIMER
|
||||||
special CallTrainerHillFunction
|
special CallTrainerHillFunction
|
||||||
setvar VAR_0x8004, 1
|
setvar VAR_0x8004, 1
|
||||||
setvar VAR_0x8005, 5
|
setvar VAR_0x8005, 5
|
||||||
special CallFrontierUtilFunc
|
special CallFrontierUtilFunc
|
||||||
compare VAR_RESULT, 2
|
compare VAR_RESULT, B_OUTCOME_LOST
|
||||||
goto_if_eq TrainerHill_1F_EventScript_2C83C9
|
goto_if_eq TrainerHill_1F_EventScript_2C83C9
|
||||||
compare VAR_RESULT, 3
|
compare VAR_RESULT, B_OUTCOME_DREW
|
||||||
goto_if_eq TrainerHill_1F_EventScript_2C83C9
|
goto_if_eq TrainerHill_1F_EventScript_2C83C9
|
||||||
compare VAR_RESULT, 9
|
compare VAR_RESULT, B_OUTCOME_FORFEITED
|
||||||
goto_if_eq TrainerHill_1F_EventScript_2C83C9
|
goto_if_eq TrainerHill_1F_EventScript_2C83C9
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -6961,7 +6952,7 @@ TrainerHill_Roof_MapScript2_2C8381: @ 82C8381
|
|||||||
|
|
||||||
EventScript_TrainerHillTimer:: @ 82C8393
|
EventScript_TrainerHillTimer:: @ 82C8393
|
||||||
lockall
|
lockall
|
||||||
setvar VAR_0x8004, 7
|
setvar VAR_0x8004, TRAINER_HILL_FUNC_7
|
||||||
special CallTrainerHillFunction
|
special CallTrainerHillFunction
|
||||||
msgbox TrainerHill_Entrance_Text_268D47, MSGBOX_DEFAULT
|
msgbox TrainerHill_Entrance_Text_268D47, MSGBOX_DEFAULT
|
||||||
releaseall
|
releaseall
|
||||||
@@ -6969,7 +6960,7 @@ EventScript_TrainerHillTimer:: @ 82C8393
|
|||||||
|
|
||||||
TrainerHill_1F_EventScript_2C83A6:: @ 82C83A6
|
TrainerHill_1F_EventScript_2C83A6:: @ 82C83A6
|
||||||
setvar VAR_TEMP_2, 1
|
setvar VAR_TEMP_2, 1
|
||||||
setvar VAR_0x8004, 9
|
setvar VAR_0x8004, TRAINER_HILL_FUNC_9
|
||||||
special CallTrainerHillFunction
|
special CallTrainerHillFunction
|
||||||
compare VAR_RESULT, 1
|
compare VAR_RESULT, 1
|
||||||
goto_if_eq TrainerHill_1F_EventScript_2C83BF
|
goto_if_eq TrainerHill_1F_EventScript_2C83BF
|
||||||
@@ -6981,9 +6972,9 @@ TrainerHill_1F_EventScript_2C83BF:: @ 82C83BF
|
|||||||
end
|
end
|
||||||
|
|
||||||
TrainerHill_1F_EventScript_2C83C9:: @ 82C83C9
|
TrainerHill_1F_EventScript_2C83C9:: @ 82C83C9
|
||||||
setvar VAR_0x8004, 12
|
setvar VAR_0x8004, TRAINER_HILL_FUNC_12
|
||||||
special CallTrainerHillFunction
|
special CallTrainerHillFunction
|
||||||
setvar VAR_0x8004, 5
|
setvar VAR_0x8004, TRAINER_HILL_FUNC_SET_LOST
|
||||||
special CallTrainerHillFunction
|
special CallTrainerHillFunction
|
||||||
setvar VAR_TEMP_1, 1
|
setvar VAR_TEMP_1, 1
|
||||||
end
|
end
|
||||||
@@ -7001,7 +6992,7 @@ TrainerHill_1F_Movement_2C83EE:: @ 82C83EE
|
|||||||
|
|
||||||
EventScript_2C83F0:: @ 82C83F0
|
EventScript_2C83F0:: @ 82C83F0
|
||||||
trainerbattle TRAINER_BATTLE_12, TRAINER_PHILLIP, 0, BattleFacility_TrainerBattle_PlaceholderText, BattleFacility_TrainerBattle_PlaceholderText
|
trainerbattle TRAINER_BATTLE_12, TRAINER_PHILLIP, 0, BattleFacility_TrainerBattle_PlaceholderText, BattleFacility_TrainerBattle_PlaceholderText
|
||||||
setvar VAR_0x8004, 11
|
setvar VAR_0x8004, TRAINER_HILL_FUNC_11
|
||||||
special CallTrainerHillFunction
|
special CallTrainerHillFunction
|
||||||
waitmessage
|
waitmessage
|
||||||
waitbuttonpress
|
waitbuttonpress
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
#include "constants/secret_bases.h"
|
#include "constants/secret_bases.h"
|
||||||
#include "constants/vars.h"
|
#include "constants/vars.h"
|
||||||
#include "constants/weather.h"
|
#include "constants/weather.h"
|
||||||
|
#include "constants/trainer_hill.h"
|
||||||
.include "asm/macros.inc"
|
.include "asm/macros.inc"
|
||||||
.include "constants/constants.inc"
|
.include "constants/constants.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
#include "constants/weather.h"
|
#include "constants/weather.h"
|
||||||
#include "constants/region_map_sections.h"
|
#include "constants/region_map_sections.h"
|
||||||
#include "constants/songs.h"
|
#include "constants/songs.h"
|
||||||
#include "constants/weather.h"
|
#include "constants/trainer_hill.h"
|
||||||
.include "asm/macros.inc"
|
.include "asm/macros.inc"
|
||||||
.include "constants/constants.inc"
|
.include "constants/constants.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -8,12 +8,12 @@ BattleFrontier_ReceptionGate_MapScript1_2661E5: @ 82661E5
|
|||||||
end
|
end
|
||||||
|
|
||||||
BattleFrontier_ReceptionGate_MapScript2_2661E9: @ 82661E9
|
BattleFrontier_ReceptionGate_MapScript2_2661E9: @ 82661E9
|
||||||
map_script_2 VAR_0x40D0, 0, BattleFrontier_ReceptionGate_EventScript_2661F3
|
map_script_2 VAR_HAS_ENTERED_BATTLE_FRONTIER, 0, BattleFrontier_ReceptionGate_EventScript_2661F3
|
||||||
.2byte 0
|
.2byte 0
|
||||||
|
|
||||||
BattleFrontier_ReceptionGate_EventScript_2661F3:: @ 82661F3
|
BattleFrontier_ReceptionGate_EventScript_2661F3:: @ 82661F3
|
||||||
lockall
|
lockall
|
||||||
setvar VAR_0x40D0, 1
|
setvar VAR_HAS_ENTERED_BATTLE_FRONTIER, 1
|
||||||
playse SE_PIN
|
playse SE_PIN
|
||||||
applymovement 1, Common_Movement_ExclamationMark
|
applymovement 1, Common_Movement_ExclamationMark
|
||||||
waitmovement 0
|
waitmovement 0
|
||||||
|
|||||||
@@ -184,11 +184,11 @@ BattleFrontier_ScottsHouse_EventScript_263943:: @ 8263943
|
|||||||
applymovement 1, Common_Movement_FacePlayer
|
applymovement 1, Common_Movement_FacePlayer
|
||||||
waitmovement 0
|
waitmovement 0
|
||||||
msgbox BattleFrontier_ScottsHouse_Text_263BD4, MSGBOX_DEFAULT
|
msgbox BattleFrontier_ScottsHouse_Text_263BD4, MSGBOX_DEFAULT
|
||||||
compare VAR_0x40D1, 13
|
compare VAR_SCOTT_STATE, 13
|
||||||
goto_if_eq BattleFrontier_ScottsHouse_EventScript_2639BC
|
goto_if_eq BattleFrontier_ScottsHouse_EventScript_2639BC
|
||||||
compare VAR_0x40D1, 9
|
compare VAR_SCOTT_STATE, 9
|
||||||
goto_if_ge BattleFrontier_ScottsHouse_EventScript_2639CB
|
goto_if_ge BattleFrontier_ScottsHouse_EventScript_2639CB
|
||||||
compare VAR_0x40D1, 6
|
compare VAR_SCOTT_STATE, 6
|
||||||
goto_if_ge BattleFrontier_ScottsHouse_EventScript_2639DA
|
goto_if_ge BattleFrontier_ScottsHouse_EventScript_2639DA
|
||||||
goto BattleFrontier_ScottsHouse_EventScript_2639E9
|
goto BattleFrontier_ScottsHouse_EventScript_2639E9
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ CaveOfOrigin_B1F_EventScript_23584D:: @ 823584D
|
|||||||
playse SE_KAIDAN
|
playse SE_KAIDAN
|
||||||
fadescreenspeed 1, 4
|
fadescreenspeed 1, 4
|
||||||
setflag FLAG_WALLACE_GOES_TO_SKY_PILLAR
|
setflag FLAG_WALLACE_GOES_TO_SKY_PILLAR
|
||||||
setvar VAR_0x405E, 3
|
setvar VAR_RAYQUAZA_STATE, 3
|
||||||
removeobject 1
|
removeobject 1
|
||||||
clearflag FLAG_HIDE_SKY_PILLAR_WALLACE
|
clearflag FLAG_HIDE_SKY_PILLAR_WALLACE
|
||||||
fadescreen 0
|
fadescreen 0
|
||||||
|
|||||||
@@ -187,7 +187,7 @@ DewfordTown_Gym_EventScript_1FC7F7:: @ 81FC7F7
|
|||||||
closemessage
|
closemessage
|
||||||
delay 30
|
delay 30
|
||||||
setflag FLAG_ENABLE_BRAWLY_MATCH_CALL
|
setflag FLAG_ENABLE_BRAWLY_MATCH_CALL
|
||||||
setvar VAR_0x40F4, 0
|
setvar VAR_ROXANNE_CALL_STEP_COUNTER, 0
|
||||||
setflag FLAG_ENABLE_ROXANNE_FIRST_CALL
|
setflag FLAG_ENABLE_ROXANNE_FIRST_CALL
|
||||||
release
|
release
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ EverGrandeCity_PokemonCenter_1F_EventScript_229A79:: @ 8229A79
|
|||||||
call_if_eq EverGrandeCity_PokemonCenter_1F_EventScript_229AC1
|
call_if_eq EverGrandeCity_PokemonCenter_1F_EventScript_229AC1
|
||||||
compare VAR_FACING, 3
|
compare VAR_FACING, 3
|
||||||
call_if_eq EverGrandeCity_PokemonCenter_1F_EventScript_229AC1
|
call_if_eq EverGrandeCity_PokemonCenter_1F_EventScript_229AC1
|
||||||
addvar VAR_0x40D1, 1
|
addvar VAR_SCOTT_STATE, 1
|
||||||
setflag FLAG_MET_SCOTT_IN_EVERGRANDE
|
setflag FLAG_MET_SCOTT_IN_EVERGRANDE
|
||||||
playse SE_KAIDAN
|
playse SE_KAIDAN
|
||||||
waitse
|
waitse
|
||||||
|
|||||||
@@ -296,7 +296,7 @@ FallarborTown_BattleTentLobby_EventScript_200228:: @ 8200228
|
|||||||
faceplayer
|
faceplayer
|
||||||
goto_if_set FLAG_MET_SCOTT_IN_FALLARBOR, FallarborTown_BattleTentLobby_EventScript_200245
|
goto_if_set FLAG_MET_SCOTT_IN_FALLARBOR, FallarborTown_BattleTentLobby_EventScript_200245
|
||||||
msgbox FallarborTown_BattleTentLobby_Text_200501, MSGBOX_DEFAULT
|
msgbox FallarborTown_BattleTentLobby_Text_200501, MSGBOX_DEFAULT
|
||||||
addvar VAR_0x40D1, 1
|
addvar VAR_SCOTT_STATE, 1
|
||||||
setflag FLAG_MET_SCOTT_IN_FALLARBOR
|
setflag FLAG_MET_SCOTT_IN_FALLARBOR
|
||||||
release
|
release
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ FarawayIsland_Interior_EventScript_267D5E:: @ 8267D5E
|
|||||||
return
|
return
|
||||||
|
|
||||||
FarawayIsland_Interior_MapScript1_267D72: @ 8267D72
|
FarawayIsland_Interior_MapScript1_267D72: @ 8267D72
|
||||||
setvar VAR_0x403A, 0
|
setvar VAR_NEVER_READ_0x403A, 0
|
||||||
setvar VAR_TEMP_1, 1
|
setvar VAR_TEMP_1, 1
|
||||||
call_if_unset FLAG_CAUGHT_MEW, FarawayIsland_Interior_EventScript_267D86
|
call_if_unset FLAG_CAUGHT_MEW, FarawayIsland_Interior_EventScript_267D86
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ FortreeCity_Gym_EventScript_2165FD:: @ 82165FD
|
|||||||
closemessage
|
closemessage
|
||||||
delay 30
|
delay 30
|
||||||
setflag FLAG_ENABLE_WINONA_MATCH_CALL
|
setflag FLAG_ENABLE_WINONA_MATCH_CALL
|
||||||
setvar VAR_0x40F3, 0
|
setvar VAR_WINONA_CALL_STEP_COUNTER, 0
|
||||||
setflag FLAG_REGISTER_WINONA_POKENAV
|
setflag FLAG_REGISTER_WINONA_POKENAV
|
||||||
release
|
release
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -184,7 +184,7 @@
|
|||||||
"x": 21,
|
"x": 21,
|
||||||
"y": 15,
|
"y": 15,
|
||||||
"elevation": 3,
|
"elevation": 3,
|
||||||
"var": "VAR_0x40C8",
|
"var": "VAR_JAGGED_PASS_STATE",
|
||||||
"var_value": "1",
|
"var_value": "1",
|
||||||
"script": "JaggedPass_EventScript_2306BB"
|
"script": "JaggedPass_EventScript_2306BB"
|
||||||
},
|
},
|
||||||
@@ -193,7 +193,7 @@
|
|||||||
"x": 22,
|
"x": 22,
|
||||||
"y": 20,
|
"y": 20,
|
||||||
"elevation": 3,
|
"elevation": 3,
|
||||||
"var": "VAR_0x40C8",
|
"var": "VAR_JAGGED_PASS_STATE",
|
||||||
"var_value": "1",
|
"var_value": "1",
|
||||||
"script": "JaggedPass_EventScript_2306BB"
|
"script": "JaggedPass_EventScript_2306BB"
|
||||||
},
|
},
|
||||||
@@ -202,7 +202,7 @@
|
|||||||
"x": 21,
|
"x": 21,
|
||||||
"y": 20,
|
"y": 20,
|
||||||
"elevation": 3,
|
"elevation": 3,
|
||||||
"var": "VAR_0x40C8",
|
"var": "VAR_JAGGED_PASS_STATE",
|
||||||
"var_value": "1",
|
"var_value": "1",
|
||||||
"script": "JaggedPass_EventScript_2306BB"
|
"script": "JaggedPass_EventScript_2306BB"
|
||||||
},
|
},
|
||||||
@@ -211,7 +211,7 @@
|
|||||||
"x": 14,
|
"x": 14,
|
||||||
"y": 15,
|
"y": 15,
|
||||||
"elevation": 3,
|
"elevation": 3,
|
||||||
"var": "VAR_0x40C8",
|
"var": "VAR_JAGGED_PASS_STATE",
|
||||||
"var_value": "1",
|
"var_value": "1",
|
||||||
"script": "JaggedPass_EventScript_2306BB"
|
"script": "JaggedPass_EventScript_2306BB"
|
||||||
},
|
},
|
||||||
@@ -220,7 +220,7 @@
|
|||||||
"x": 13,
|
"x": 13,
|
||||||
"y": 15,
|
"y": 15,
|
||||||
"elevation": 3,
|
"elevation": 3,
|
||||||
"var": "VAR_0x40C8",
|
"var": "VAR_JAGGED_PASS_STATE",
|
||||||
"var_value": "1",
|
"var_value": "1",
|
||||||
"script": "JaggedPass_EventScript_2306BB"
|
"script": "JaggedPass_EventScript_2306BB"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ JaggedPass_MapScripts:: @ 8230656
|
|||||||
|
|
||||||
JaggedPass_MapScript1_230666: @ 8230666
|
JaggedPass_MapScript1_230666: @ 8230666
|
||||||
setstepcallback 1
|
setstepcallback 1
|
||||||
compare VAR_0x40C8, 0
|
compare VAR_JAGGED_PASS_STATE, 0
|
||||||
call_if_eq JaggedPass_EventScript_230674
|
call_if_eq JaggedPass_EventScript_230674
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -17,7 +17,7 @@ JaggedPass_EventScript_230674:: @ 8230674
|
|||||||
return
|
return
|
||||||
|
|
||||||
JaggedPass_EventScript_230685:: @ 8230685
|
JaggedPass_EventScript_230685:: @ 8230685
|
||||||
setvar VAR_0x40C8, 1
|
setvar VAR_JAGGED_PASS_STATE, 1
|
||||||
return
|
return
|
||||||
|
|
||||||
JaggedPass_MapScript1_23068B: @ 823068B
|
JaggedPass_MapScript1_23068B: @ 823068B
|
||||||
@@ -31,7 +31,7 @@ JaggedPass_EventScript_230697:: @ 8230697
|
|||||||
return
|
return
|
||||||
|
|
||||||
JaggedPass_MapScript1_23069C: @ 823069C
|
JaggedPass_MapScript1_23069C: @ 823069C
|
||||||
compare VAR_0x40C8, 1
|
compare VAR_JAGGED_PASS_STATE, 1
|
||||||
goto_if_le JaggedPass_EventScript_2306A8
|
goto_if_le JaggedPass_EventScript_2306A8
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -61,7 +61,7 @@ JaggedPass_EventScript_2306BB:: @ 82306BB
|
|||||||
setmetatile 16, 18, 606, 0
|
setmetatile 16, 18, 606, 0
|
||||||
special DrawWholeMapView
|
special DrawWholeMapView
|
||||||
delay 30
|
delay 30
|
||||||
setvar VAR_0x40C8, 2
|
setvar VAR_JAGGED_PASS_STATE, 2
|
||||||
waitse
|
waitse
|
||||||
releaseall
|
releaseall
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ LilycoveCity_CoveLilyMotel_2F_EventScript_21874D:: @ 821874D
|
|||||||
faceplayer
|
faceplayer
|
||||||
goto_if_set FLAG_MET_SCOTT_IN_LILYCOVE, LilycoveCity_CoveLilyMotel_2F_EventScript_21876A
|
goto_if_set FLAG_MET_SCOTT_IN_LILYCOVE, LilycoveCity_CoveLilyMotel_2F_EventScript_21876A
|
||||||
msgbox LilycoveCity_CoveLilyMotel_2F_Text_218ACF, MSGBOX_DEFAULT
|
msgbox LilycoveCity_CoveLilyMotel_2F_Text_218ACF, MSGBOX_DEFAULT
|
||||||
addvar VAR_0x40D1, 1
|
addvar VAR_SCOTT_STATE, 1
|
||||||
setflag FLAG_MET_SCOTT_IN_LILYCOVE
|
setflag FLAG_MET_SCOTT_IN_LILYCOVE
|
||||||
release
|
release
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ LilycoveCity_DepartmentStore_1F_EventScript_21F69C:: @ 821F69C
|
|||||||
lock
|
lock
|
||||||
faceplayer
|
faceplayer
|
||||||
dotimebasedevents
|
dotimebasedevents
|
||||||
compare VAR_POKELOT_PRIZE, 0
|
compare VAR_POKELOT_PRIZE_ITEM, 0
|
||||||
goto_if_ne LilycoveCity_DepartmentStore_1F_EventScript_21F7F7
|
goto_if_ne LilycoveCity_DepartmentStore_1F_EventScript_21F7F7
|
||||||
goto_if_set FLAG_DAILY_PICKED_LOTO_TICKET, LilycoveCity_DepartmentStore_1F_EventScript_21F78D
|
goto_if_set FLAG_DAILY_PICKED_LOTO_TICKET, LilycoveCity_DepartmentStore_1F_EventScript_21F78D
|
||||||
msgbox LilycoveCity_DepartmentStore_1F_Text_2A6390, MSGBOX_YESNO
|
msgbox LilycoveCity_DepartmentStore_1F_Text_2A6390, MSGBOX_YESNO
|
||||||
@@ -100,8 +100,8 @@ LilycoveCity_DepartmentStore_1F_EventScript_21F7D4:: @ 821F7D4
|
|||||||
return
|
return
|
||||||
|
|
||||||
LilycoveCity_DepartmentStore_1F_EventScript_21F7DD:: @ 821F7DD
|
LilycoveCity_DepartmentStore_1F_EventScript_21F7DD:: @ 821F7DD
|
||||||
copyvar VAR_0x404D, VAR_0x8004
|
copyvar VAR_POKELOT_PRIZE_PLACE, VAR_0x8004
|
||||||
copyvar VAR_POKELOT_PRIZE, VAR_0x8005
|
copyvar VAR_POKELOT_PRIZE_ITEM, VAR_0x8005
|
||||||
goto LilycoveCity_DepartmentStore_1F_EventScript_21F7ED
|
goto LilycoveCity_DepartmentStore_1F_EventScript_21F7ED
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -112,14 +112,14 @@ LilycoveCity_DepartmentStore_1F_EventScript_21F7ED:: @ 821F7ED
|
|||||||
|
|
||||||
LilycoveCity_DepartmentStore_1F_EventScript_21F7F7:: @ 821F7F7
|
LilycoveCity_DepartmentStore_1F_EventScript_21F7F7:: @ 821F7F7
|
||||||
msgbox LilycoveCity_DepartmentStore_1F_Text_2A67E1, MSGBOX_DEFAULT
|
msgbox LilycoveCity_DepartmentStore_1F_Text_2A67E1, MSGBOX_DEFAULT
|
||||||
giveitem_std VAR_POKELOT_PRIZE
|
giveitem_std VAR_POKELOT_PRIZE_ITEM
|
||||||
compare VAR_RESULT, 0
|
compare VAR_RESULT, 0
|
||||||
goto_if_eq LilycoveCity_DepartmentStore_1F_EventScript_21F7ED
|
goto_if_eq LilycoveCity_DepartmentStore_1F_EventScript_21F7ED
|
||||||
copyvar VAR_0x8004, VAR_0x404D
|
copyvar VAR_0x8004, VAR_POKELOT_PRIZE_PLACE
|
||||||
copyvar VAR_0x8005, VAR_POKELOT_PRIZE
|
copyvar VAR_0x8005, VAR_POKELOT_PRIZE_ITEM
|
||||||
special sub_80EE2CC
|
special sub_80EE2CC
|
||||||
setvar VAR_POKELOT_PRIZE, 0
|
setvar VAR_POKELOT_PRIZE_ITEM, 0
|
||||||
setvar VAR_0x404D, 0
|
setvar VAR_POKELOT_PRIZE_PLACE, 0
|
||||||
release
|
release
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -3,9 +3,9 @@ LilycoveCity_DepartmentStore_5F_MapScripts:: @ 821FF7A
|
|||||||
.byte 0
|
.byte 0
|
||||||
|
|
||||||
LilycoveCity_DepartmentStore_5F_MapScript2_21FF80: @ 821FF80
|
LilycoveCity_DepartmentStore_5F_MapScript2_21FF80: @ 821FF80
|
||||||
map_script_2 VAR_0x405E, 1, LilycoveCity_DepartmentStore_5F_EventScript_21FF9A
|
map_script_2 VAR_RAYQUAZA_STATE, 1, LilycoveCity_DepartmentStore_5F_EventScript_21FF9A
|
||||||
map_script_2 VAR_0x405E, 2, LilycoveCity_DepartmentStore_5F_EventScript_21FF9A
|
map_script_2 VAR_RAYQUAZA_STATE, 2, LilycoveCity_DepartmentStore_5F_EventScript_21FF9A
|
||||||
map_script_2 VAR_0x405E, 3, LilycoveCity_DepartmentStore_5F_EventScript_21FF9A
|
map_script_2 VAR_RAYQUAZA_STATE, 3, LilycoveCity_DepartmentStore_5F_EventScript_21FF9A
|
||||||
.2byte 0
|
.2byte 0
|
||||||
|
|
||||||
LilycoveCity_DepartmentStore_5F_EventScript_21FF9A:: @ 821FF9A
|
LilycoveCity_DepartmentStore_5F_EventScript_21FF9A:: @ 821FF9A
|
||||||
@@ -125,9 +125,9 @@ LilycoveCity_DepartmentStore_5F_EventScript_220075:: @ 8220075
|
|||||||
lockall
|
lockall
|
||||||
applymovement 7, Common_Movement_FacePlayer
|
applymovement 7, Common_Movement_FacePlayer
|
||||||
waitmovement 0
|
waitmovement 0
|
||||||
compare VAR_0x405E, 0
|
compare VAR_RAYQUAZA_STATE, 0
|
||||||
goto_if_eq LilycoveCity_DepartmentStore_5F_EventScript_22009C
|
goto_if_eq LilycoveCity_DepartmentStore_5F_EventScript_22009C
|
||||||
compare VAR_0x405E, 4
|
compare VAR_RAYQUAZA_STATE, 4
|
||||||
goto_if_ge LilycoveCity_DepartmentStore_5F_EventScript_22009C
|
goto_if_ge LilycoveCity_DepartmentStore_5F_EventScript_22009C
|
||||||
goto LilycoveCity_DepartmentStore_5F_EventScript_2200A7
|
goto LilycoveCity_DepartmentStore_5F_EventScript_2200A7
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ LittlerootTown_BrendansHouse_2F_MapScript1_1F83EE: @ 81F83EE
|
|||||||
compare VAR_LITTLEROOT_INTRO_STATE, 4
|
compare VAR_LITTLEROOT_INTRO_STATE, 4
|
||||||
call_if_eq LittlerootTown_BrendansHouse_2F_EventScript_2926FE
|
call_if_eq LittlerootTown_BrendansHouse_2F_EventScript_2926FE
|
||||||
call LittlerootTown_BrendansHouse_2F_EventScript_275CE1
|
call LittlerootTown_BrendansHouse_2F_EventScript_275CE1
|
||||||
setvar VAR_0x4089, 0
|
setvar VAR_SECRET_BASE_INITIALIZED, 0
|
||||||
end
|
end
|
||||||
|
|
||||||
LittlerootTown_BrendansHouse_2F_EventScript_1F841A:: @ 81F841A
|
LittlerootTown_BrendansHouse_2F_EventScript_1F841A:: @ 81F841A
|
||||||
@@ -44,7 +44,7 @@ LittlerootTown_BrendansHouse_2F_EventScript_1F8464:: @ 81F8464
|
|||||||
return
|
return
|
||||||
|
|
||||||
LittlerootTown_BrendansHouse_2F_MapScript2_1F846A: @ 81F846A
|
LittlerootTown_BrendansHouse_2F_MapScript2_1F846A: @ 81F846A
|
||||||
map_script_2 VAR_0x4089, 0, LittlerootTown_BrendansHouse_2F_EventScript_1F8474
|
map_script_2 VAR_SECRET_BASE_INITIALIZED, 0, LittlerootTown_BrendansHouse_2F_EventScript_1F8474
|
||||||
.2byte 0
|
.2byte 0
|
||||||
|
|
||||||
LittlerootTown_BrendansHouse_2F_EventScript_1F8474:: @ 81F8474
|
LittlerootTown_BrendansHouse_2F_EventScript_1F8474:: @ 81F8474
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ LittlerootTown_MaysHouse_2F_MapScript1_1F92A1: @ 81F92A1
|
|||||||
compare VAR_LITTLEROOT_INTRO_STATE, 4
|
compare VAR_LITTLEROOT_INTRO_STATE, 4
|
||||||
call_if_eq LittlerootTown_MaysHouse_2F_EventScript_2926FE
|
call_if_eq LittlerootTown_MaysHouse_2F_EventScript_2926FE
|
||||||
call LittlerootTown_MaysHouse_2F_EventScript_275CE1
|
call LittlerootTown_MaysHouse_2F_EventScript_275CE1
|
||||||
setvar VAR_0x4089, 0
|
setvar VAR_SECRET_BASE_INITIALIZED, 0
|
||||||
end
|
end
|
||||||
|
|
||||||
LittlerootTown_MaysHouse_2F_EventScript_1F92CD:: @ 81F92CD
|
LittlerootTown_MaysHouse_2F_EventScript_1F92CD:: @ 81F92CD
|
||||||
@@ -45,7 +45,7 @@ LittlerootTown_MaysHouse_2F_EventScript_1F9317:: @ 81F9317
|
|||||||
return
|
return
|
||||||
|
|
||||||
LittlerootTown_MaysHouse_2F_MapScript2_1F931D: @ 81F931D
|
LittlerootTown_MaysHouse_2F_MapScript2_1F931D: @ 81F931D
|
||||||
map_script_2 VAR_0x4089, 0, LittlerootTown_MaysHouse_2F_EventScript_1F9327
|
map_script_2 VAR_SECRET_BASE_INITIALIZED, 0, LittlerootTown_MaysHouse_2F_EventScript_1F9327
|
||||||
.2byte 0
|
.2byte 0
|
||||||
|
|
||||||
LittlerootTown_MaysHouse_2F_EventScript_1F9327:: @ 81F9327
|
LittlerootTown_MaysHouse_2F_EventScript_1F9327:: @ 81F9327
|
||||||
|
|||||||
@@ -195,7 +195,7 @@ LittlerootTown_ProfessorBirchsLab_EventScript_1F9E80:: @ 81F9E80
|
|||||||
setflag FLAG_HIDE_LITTLEROOT_TOWN_BIRCH
|
setflag FLAG_HIDE_LITTLEROOT_TOWN_BIRCH
|
||||||
setflag FLAG_HIDE_LITTLEROOT_TOWN_RIVAL
|
setflag FLAG_HIDE_LITTLEROOT_TOWN_RIVAL
|
||||||
setvar VAR_0x40D3, 2
|
setvar VAR_0x40D3, 2
|
||||||
setvar VAR_0x40F5, 0
|
setvar VAR_SCOTT_CALL_STEP_COUNTER, 0
|
||||||
setflag FLAG_SCOTT_CALL_NATIONAL_DEX
|
setflag FLAG_SCOTT_CALL_NATIONAL_DEX
|
||||||
releaseall
|
releaseall
|
||||||
end
|
end
|
||||||
@@ -570,7 +570,7 @@ LittlerootTown_ProfessorBirchsLab_EventScript_1FA3AC:: @ 81FA3AC
|
|||||||
setflag FLAG_SYS_POKEDEX_GET
|
setflag FLAG_SYS_POKEDEX_GET
|
||||||
special sub_81AFDA0
|
special sub_81AFDA0
|
||||||
setflag FLAG_RECEIVED_POKEDEX_FROM_BIRCH
|
setflag FLAG_RECEIVED_POKEDEX_FROM_BIRCH
|
||||||
setvar VAR_0x40CD, 1
|
setvar VAR_CABLE_CLUB_TUTORIAL_STATE, 1
|
||||||
return
|
return
|
||||||
|
|
||||||
LittlerootTown_ProfessorBirchsLab_EventScript_1FA3C4:: @ 81FA3C4
|
LittlerootTown_ProfessorBirchsLab_EventScript_1FA3C4:: @ 81FA3C4
|
||||||
|
|||||||
@@ -47,13 +47,13 @@ MarineCave_End_EventScript_23B01B:: @ 823B01B
|
|||||||
goto_if_eq MarineCave_End_EventScript_23B092
|
goto_if_eq MarineCave_End_EventScript_23B092
|
||||||
compare VAR_RESULT, 5
|
compare VAR_RESULT, 5
|
||||||
goto_if_eq MarineCave_End_EventScript_23B092
|
goto_if_eq MarineCave_End_EventScript_23B092
|
||||||
setvar VAR_0x4039, 1
|
setvar VAR_SHOULD_END_UNUSUAL_WEATHER, 1
|
||||||
setflag FLAG_DEFEATED_KYOGRE
|
setflag FLAG_DEFEATED_KYOGRE
|
||||||
releaseall
|
releaseall
|
||||||
end
|
end
|
||||||
|
|
||||||
MarineCave_End_EventScript_23B084:: @ 823B084
|
MarineCave_End_EventScript_23B084:: @ 823B084
|
||||||
setvar VAR_0x4039, 1
|
setvar VAR_SHOULD_END_UNUSUAL_WEATHER, 1
|
||||||
setflag FLAG_DEFEATED_KYOGRE
|
setflag FLAG_DEFEATED_KYOGRE
|
||||||
goto MarineCave_End_EventScript_27376D
|
goto MarineCave_End_EventScript_27376D
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -158,7 +158,7 @@ MauvilleCity_EventScript_1DF593:: @ 81DF593
|
|||||||
clearflag FLAG_HIDE_VERDANTURF_TOWN_WANDAS_HOUSE_WALLY
|
clearflag FLAG_HIDE_VERDANTURF_TOWN_WANDAS_HOUSE_WALLY
|
||||||
clearflag FLAG_HIDE_VERDANTURF_TOWN_WANDAS_HOUSE_WALLYS_UNCLE
|
clearflag FLAG_HIDE_VERDANTURF_TOWN_WANDAS_HOUSE_WALLYS_UNCLE
|
||||||
setflag FLAG_DEFEATED_WALLY_MAUVILLE
|
setflag FLAG_DEFEATED_WALLY_MAUVILLE
|
||||||
setvar VAR_0x40F2, 0
|
setvar VAR_WALLY_CALL_STEP_COUNTER, 0
|
||||||
setflag FLAG_ENABLE_FIRST_WALLY_POKENAV_CALL
|
setflag FLAG_ENABLE_FIRST_WALLY_POKENAV_CALL
|
||||||
compare VAR_FACING, 2
|
compare VAR_FACING, 2
|
||||||
call_if_eq MauvilleCity_EventScript_1DF5F3
|
call_if_eq MauvilleCity_EventScript_1DF5F3
|
||||||
@@ -168,7 +168,7 @@ MauvilleCity_EventScript_1DF593:: @ 81DF593
|
|||||||
waitmovement 0
|
waitmovement 0
|
||||||
msgbox MauvilleCity_Text_1DFED5, MSGBOX_DEFAULT
|
msgbox MauvilleCity_Text_1DFED5, MSGBOX_DEFAULT
|
||||||
closemessage
|
closemessage
|
||||||
addvar VAR_0x40D1, 1
|
addvar VAR_SCOTT_STATE, 1
|
||||||
compare VAR_FACING, 2
|
compare VAR_FACING, 2
|
||||||
call_if_eq MauvilleCity_EventScript_1DF616
|
call_if_eq MauvilleCity_EventScript_1DF616
|
||||||
compare VAR_FACING, 4
|
compare VAR_FACING, 4
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ MauvilleCity_Gym_EventScript_20DF2B:: @ 820DF2B
|
|||||||
waitmessage
|
waitmessage
|
||||||
call Common_EventScript_PlayGymBadgeFanfare
|
call Common_EventScript_PlayGymBadgeFanfare
|
||||||
msgbox MauvilleCity_Gym_Text_20E7AA, MSGBOX_DEFAULT
|
msgbox MauvilleCity_Gym_Text_20E7AA, MSGBOX_DEFAULT
|
||||||
setvar VAR_0x40D2, 3
|
setvar VAR_SLATEPORT_OUTSIDE_MUSEUM_STATE, 3
|
||||||
clearflag FLAG_HIDE_VERDANTURF_TOWN_SCOTT
|
clearflag FLAG_HIDE_VERDANTURF_TOWN_SCOTT
|
||||||
setflag FLAG_DEFEATED_MAUVILLE_GYM
|
setflag FLAG_DEFEATED_MAUVILLE_GYM
|
||||||
setflag FLAG_BADGE03_GET
|
setflag FLAG_BADGE03_GET
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ MirageTower_4F_EventScript_23ADCA:: @ 823ADCA
|
|||||||
waitstate
|
waitstate
|
||||||
special DoMirageTowerCeilingCrumble
|
special DoMirageTowerCeilingCrumble
|
||||||
waitstate
|
waitstate
|
||||||
setvar VAR_0x40CB, 1
|
setvar VAR_ROUTE_111_STATE, 1
|
||||||
clearflag FLAG_LANDMARK_MIRAGE_TOWER
|
clearflag FLAG_LANDMARK_MIRAGE_TOWER
|
||||||
warp MAP_ROUTE111, 255, 19, 59
|
warp MAP_ROUTE111, 255, 19, 59
|
||||||
waitstate
|
waitstate
|
||||||
|
|||||||
@@ -366,7 +366,7 @@
|
|||||||
"x": 42,
|
"x": 42,
|
||||||
"y": 21,
|
"y": 21,
|
||||||
"elevation": 5,
|
"elevation": 5,
|
||||||
"var": "VAR_0x405D",
|
"var": "VAR_MOSSDEEP_STATE",
|
||||||
"var_value": "1",
|
"var_value": "1",
|
||||||
"script": "MossdeepCity_EventScript_1E4B41"
|
"script": "MossdeepCity_EventScript_1E4B41"
|
||||||
},
|
},
|
||||||
@@ -375,7 +375,7 @@
|
|||||||
"x": 41,
|
"x": 41,
|
||||||
"y": 22,
|
"y": 22,
|
||||||
"elevation": 5,
|
"elevation": 5,
|
||||||
"var": "VAR_0x405D",
|
"var": "VAR_MOSSDEEP_STATE",
|
||||||
"var_value": "1",
|
"var_value": "1",
|
||||||
"script": "MossdeepCity_EventScript_1E4B41"
|
"script": "MossdeepCity_EventScript_1E4B41"
|
||||||
},
|
},
|
||||||
@@ -384,7 +384,7 @@
|
|||||||
"x": 41,
|
"x": 41,
|
||||||
"y": 23,
|
"y": 23,
|
||||||
"elevation": 5,
|
"elevation": 5,
|
||||||
"var": "VAR_0x405D",
|
"var": "VAR_MOSSDEEP_STATE",
|
||||||
"var_value": "1",
|
"var_value": "1",
|
||||||
"script": "MossdeepCity_EventScript_1E4B41"
|
"script": "MossdeepCity_EventScript_1E4B41"
|
||||||
},
|
},
|
||||||
@@ -393,7 +393,7 @@
|
|||||||
"x": 41,
|
"x": 41,
|
||||||
"y": 24,
|
"y": 24,
|
||||||
"elevation": 5,
|
"elevation": 5,
|
||||||
"var": "VAR_0x405D",
|
"var": "VAR_MOSSDEEP_STATE",
|
||||||
"var_value": "1",
|
"var_value": "1",
|
||||||
"script": "MossdeepCity_EventScript_1E4B41"
|
"script": "MossdeepCity_EventScript_1E4B41"
|
||||||
},
|
},
|
||||||
@@ -402,7 +402,7 @@
|
|||||||
"x": 40,
|
"x": 40,
|
||||||
"y": 25,
|
"y": 25,
|
||||||
"elevation": 5,
|
"elevation": 5,
|
||||||
"var": "VAR_0x405D",
|
"var": "VAR_MOSSDEEP_STATE",
|
||||||
"var_value": "1",
|
"var_value": "1",
|
||||||
"script": "MossdeepCity_EventScript_1E4B41"
|
"script": "MossdeepCity_EventScript_1E4B41"
|
||||||
},
|
},
|
||||||
@@ -411,7 +411,7 @@
|
|||||||
"x": 40,
|
"x": 40,
|
||||||
"y": 26,
|
"y": 26,
|
||||||
"elevation": 5,
|
"elevation": 5,
|
||||||
"var": "VAR_0x405D",
|
"var": "VAR_MOSSDEEP_STATE",
|
||||||
"var_value": "1",
|
"var_value": "1",
|
||||||
"script": "MossdeepCity_EventScript_1E4B41"
|
"script": "MossdeepCity_EventScript_1E4B41"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ MossdeepCity_EventScript_1E4B41:: @ 81E4B41
|
|||||||
removeobject 12
|
removeobject 12
|
||||||
removeobject 13
|
removeobject 13
|
||||||
delay 30
|
delay 30
|
||||||
setvar VAR_0x405D, 2
|
setvar VAR_MOSSDEEP_STATE, 2
|
||||||
setflag FLAG_HIDE_MOSSDEEP_CITY_TEAM_MAGMA
|
setflag FLAG_HIDE_MOSSDEEP_CITY_TEAM_MAGMA
|
||||||
releaseall
|
releaseall
|
||||||
end
|
end
|
||||||
@@ -259,7 +259,7 @@ MossdeepCity_EventScript_1E4C85:: @ 81E4C85
|
|||||||
call_if_eq MossdeepCity_EventScript_1E4CB0
|
call_if_eq MossdeepCity_EventScript_1E4CB0
|
||||||
compare VAR_FACING, 4
|
compare VAR_FACING, 4
|
||||||
call_if_eq MossdeepCity_EventScript_1E4CC2
|
call_if_eq MossdeepCity_EventScript_1E4CC2
|
||||||
addvar VAR_0x40D1, 1
|
addvar VAR_SCOTT_STATE, 1
|
||||||
removeobject 16
|
removeobject 16
|
||||||
release
|
release
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -71,9 +71,9 @@ MossdeepCity_Gym_EventScript_2208D1:: @ 82208D1
|
|||||||
clearflag FLAG_HIDE_MOSSDEEP_CITY_SPACE_CENTER_1F_TEAM_MAGMA
|
clearflag FLAG_HIDE_MOSSDEEP_CITY_SPACE_CENTER_1F_TEAM_MAGMA
|
||||||
clearflag FLAG_HIDE_MOSSDEEP_CITY_SPACE_CENTER_2F_TEAM_MAGMA
|
clearflag FLAG_HIDE_MOSSDEEP_CITY_SPACE_CENTER_2F_TEAM_MAGMA
|
||||||
clearflag FLAG_HIDE_MOSSDEEP_CITY_SPACE_CENTER_2F_STEVEN
|
clearflag FLAG_HIDE_MOSSDEEP_CITY_SPACE_CENTER_2F_STEVEN
|
||||||
setvar VAR_0x405D, 1
|
setvar VAR_MOSSDEEP_STATE, 1
|
||||||
setflag FLAG_HIDE_MOSSDEEP_CITY_SPACE_CENTER_1F_STEVEN
|
setflag FLAG_HIDE_MOSSDEEP_CITY_SPACE_CENTER_1F_STEVEN
|
||||||
setvar VAR_0x409F, 1
|
setvar VAR_MOSSDEEP_SPACE_CENTER_STATE_2, 1
|
||||||
call MossdeepCity_Gym_EventScript_22095B
|
call MossdeepCity_Gym_EventScript_22095B
|
||||||
closemessage
|
closemessage
|
||||||
delay 30
|
delay 30
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ MossdeepCity_SpaceCenter_1F_MapScripts:: @ 8222F41
|
|||||||
.byte 0
|
.byte 0
|
||||||
|
|
||||||
MossdeepCity_SpaceCenter_1F_MapScript1_222F4C: @ 8222F4C
|
MossdeepCity_SpaceCenter_1F_MapScript1_222F4C: @ 8222F4C
|
||||||
compare VAR_0x405D, 2
|
compare VAR_MOSSDEEP_STATE, 2
|
||||||
goto_if_eq MossdeepCity_SpaceCenter_1F_EventScript_222F58
|
goto_if_eq MossdeepCity_SpaceCenter_1F_EventScript_222F58
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -18,11 +18,11 @@ MossdeepCity_SpaceCenter_1F_EventScript_222F58:: @ 8222F58
|
|||||||
setobjectxyperm 1, 3, 4
|
setobjectxyperm 1, 3, 4
|
||||||
setobjectmovementtype 1, MOVEMENT_TYPE_FACE_RIGHT
|
setobjectmovementtype 1, MOVEMENT_TYPE_FACE_RIGHT
|
||||||
setobjectmovementtype 2, MOVEMENT_TYPE_FACE_RIGHT
|
setobjectmovementtype 2, MOVEMENT_TYPE_FACE_RIGHT
|
||||||
compare VAR_0x409E, 1
|
compare VAR_MOSSDEEP_SPACE_CENTER_STATE_1, 1
|
||||||
goto_if_eq MossdeepCity_SpaceCenter_1F_EventScript_222FAA
|
goto_if_eq MossdeepCity_SpaceCenter_1F_EventScript_222FAA
|
||||||
compare VAR_0x409E, 2
|
compare VAR_MOSSDEEP_SPACE_CENTER_STATE_1, 2
|
||||||
goto_if_eq MossdeepCity_SpaceCenter_1F_EventScript_222FB2
|
goto_if_eq MossdeepCity_SpaceCenter_1F_EventScript_222FB2
|
||||||
compare VAR_0x409E, 3
|
compare VAR_MOSSDEEP_SPACE_CENTER_STATE_1, 3
|
||||||
goto_if_eq MossdeepCity_SpaceCenter_1F_EventScript_222FBA
|
goto_if_eq MossdeepCity_SpaceCenter_1F_EventScript_222FBA
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -39,7 +39,7 @@ MossdeepCity_SpaceCenter_1F_EventScript_222FBA:: @ 8222FBA
|
|||||||
end
|
end
|
||||||
|
|
||||||
MossdeepCity_SpaceCenter_1F_MapScript1_222FC2: @ 8222FC2
|
MossdeepCity_SpaceCenter_1F_MapScript1_222FC2: @ 8222FC2
|
||||||
compare VAR_0x405D, 2
|
compare VAR_MOSSDEEP_STATE, 2
|
||||||
goto_if_le MossdeepCity_SpaceCenter_1F_EventScript_222FCE
|
goto_if_le MossdeepCity_SpaceCenter_1F_EventScript_222FCE
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -50,7 +50,7 @@ MossdeepCity_SpaceCenter_1F_EventScript_222FCE:: @ 8222FCE
|
|||||||
MossdeepCity_SpaceCenter_1F_EventScript_222FD8:: @ 8222FD8
|
MossdeepCity_SpaceCenter_1F_EventScript_222FD8:: @ 8222FD8
|
||||||
lock
|
lock
|
||||||
faceplayer
|
faceplayer
|
||||||
compare VAR_0x405D, 2
|
compare VAR_MOSSDEEP_STATE, 2
|
||||||
goto_if_eq MossdeepCity_SpaceCenter_1F_EventScript_223024
|
goto_if_eq MossdeepCity_SpaceCenter_1F_EventScript_223024
|
||||||
dotimebasedevents
|
dotimebasedevents
|
||||||
specialvar VAR_RESULT, GetWeekCount
|
specialvar VAR_RESULT, GetWeekCount
|
||||||
@@ -98,7 +98,7 @@ MossdeepCity_SpaceCenter_1F_EventScript_22305A:: @ 822305A
|
|||||||
MossdeepCity_SpaceCenter_1F_EventScript_223063:: @ 8223063
|
MossdeepCity_SpaceCenter_1F_EventScript_223063:: @ 8223063
|
||||||
lock
|
lock
|
||||||
faceplayer
|
faceplayer
|
||||||
compare VAR_0x405D, 2
|
compare VAR_MOSSDEEP_STATE, 2
|
||||||
goto_if_eq MossdeepCity_SpaceCenter_1F_EventScript_22307A
|
goto_if_eq MossdeepCity_SpaceCenter_1F_EventScript_22307A
|
||||||
msgbox MossdeepCity_SpaceCenter_1F_Text_2233D3, MSGBOX_DEFAULT
|
msgbox MossdeepCity_SpaceCenter_1F_Text_2233D3, MSGBOX_DEFAULT
|
||||||
release
|
release
|
||||||
@@ -114,7 +114,7 @@ MossdeepCity_SpaceCenter_1F_EventScript_22307A:: @ 822307A
|
|||||||
MossdeepCity_SpaceCenter_1F_EventScript_22308E:: @ 822308E
|
MossdeepCity_SpaceCenter_1F_EventScript_22308E:: @ 822308E
|
||||||
lock
|
lock
|
||||||
faceplayer
|
faceplayer
|
||||||
compare VAR_0x405D, 2
|
compare VAR_MOSSDEEP_STATE, 2
|
||||||
goto_if_eq MossdeepCity_SpaceCenter_1F_EventScript_2230DA
|
goto_if_eq MossdeepCity_SpaceCenter_1F_EventScript_2230DA
|
||||||
goto_if_set FLAG_RECEIVED_SUN_STONE_MOSSDEEP, MossdeepCity_SpaceCenter_1F_EventScript_2230D0
|
goto_if_set FLAG_RECEIVED_SUN_STONE_MOSSDEEP, MossdeepCity_SpaceCenter_1F_EventScript_2230D0
|
||||||
msgbox MossdeepCity_SpaceCenter_1F_Text_223540, MSGBOX_DEFAULT
|
msgbox MossdeepCity_SpaceCenter_1F_Text_223540, MSGBOX_DEFAULT
|
||||||
@@ -155,9 +155,9 @@ MossdeepCity_SpaceCenter_1F_EventScript_22312D:: @ 822312D
|
|||||||
lock
|
lock
|
||||||
faceplayer
|
faceplayer
|
||||||
goto_if_set FLAG_SYS_GAME_CLEAR, MossdeepCity_SpaceCenter_1F_EventScript_223154
|
goto_if_set FLAG_SYS_GAME_CLEAR, MossdeepCity_SpaceCenter_1F_EventScript_223154
|
||||||
compare VAR_0x405D, 2
|
compare VAR_MOSSDEEP_STATE, 2
|
||||||
goto_if_eq MossdeepCity_SpaceCenter_1F_EventScript_22315E
|
goto_if_eq MossdeepCity_SpaceCenter_1F_EventScript_22315E
|
||||||
compare VAR_0x405D, 2
|
compare VAR_MOSSDEEP_STATE, 2
|
||||||
goto_if_lt MossdeepCity_SpaceCenter_1F_EventScript_223154
|
goto_if_lt MossdeepCity_SpaceCenter_1F_EventScript_223154
|
||||||
goto MossdeepCity_SpaceCenter_1F_EventScript_22315E
|
goto MossdeepCity_SpaceCenter_1F_EventScript_22315E
|
||||||
end
|
end
|
||||||
@@ -176,9 +176,9 @@ MossdeepCity_SpaceCenter_1F_EventScript_223168:: @ 8223168
|
|||||||
lock
|
lock
|
||||||
faceplayer
|
faceplayer
|
||||||
goto_if_set FLAG_SYS_GAME_CLEAR, MossdeepCity_SpaceCenter_1F_EventScript_22318F
|
goto_if_set FLAG_SYS_GAME_CLEAR, MossdeepCity_SpaceCenter_1F_EventScript_22318F
|
||||||
compare VAR_0x405D, 2
|
compare VAR_MOSSDEEP_STATE, 2
|
||||||
goto_if_eq MossdeepCity_SpaceCenter_1F_EventScript_2231A4
|
goto_if_eq MossdeepCity_SpaceCenter_1F_EventScript_2231A4
|
||||||
compare VAR_0x405D, 2
|
compare VAR_MOSSDEEP_STATE, 2
|
||||||
goto_if_lt MossdeepCity_SpaceCenter_1F_EventScript_22318F
|
goto_if_lt MossdeepCity_SpaceCenter_1F_EventScript_22318F
|
||||||
goto MossdeepCity_SpaceCenter_1F_EventScript_2231A4
|
goto MossdeepCity_SpaceCenter_1F_EventScript_2231A4
|
||||||
end
|
end
|
||||||
@@ -242,7 +242,7 @@ MossdeepCity_SpaceCenter_1F_EventScript_22321F:: @ 822321F
|
|||||||
case 3, MossdeepCity_SpaceCenter_1F_EventScript_223289
|
case 3, MossdeepCity_SpaceCenter_1F_EventScript_223289
|
||||||
applymovement 9, MossdeepCity_SpaceCenter_1F_Movement_2232A2
|
applymovement 9, MossdeepCity_SpaceCenter_1F_Movement_2232A2
|
||||||
waitmovement 0
|
waitmovement 0
|
||||||
setvar VAR_0x409E, 2
|
setvar VAR_MOSSDEEP_SPACE_CENTER_STATE_1, 2
|
||||||
release
|
release
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -254,14 +254,14 @@ MossdeepCity_SpaceCenter_1F_EventScript_22326E:: @ 822326E
|
|||||||
MossdeepCity_SpaceCenter_1F_EventScript_223278:: @ 8223278
|
MossdeepCity_SpaceCenter_1F_EventScript_223278:: @ 8223278
|
||||||
applymovement 9, MossdeepCity_SpaceCenter_1F_Movement_22329A
|
applymovement 9, MossdeepCity_SpaceCenter_1F_Movement_22329A
|
||||||
waitmovement 0
|
waitmovement 0
|
||||||
setvar VAR_0x409E, 1
|
setvar VAR_MOSSDEEP_SPACE_CENTER_STATE_1, 1
|
||||||
release
|
release
|
||||||
end
|
end
|
||||||
|
|
||||||
MossdeepCity_SpaceCenter_1F_EventScript_223289:: @ 8223289
|
MossdeepCity_SpaceCenter_1F_EventScript_223289:: @ 8223289
|
||||||
applymovement 9, MossdeepCity_SpaceCenter_1F_Movement_22329E
|
applymovement 9, MossdeepCity_SpaceCenter_1F_Movement_22329E
|
||||||
waitmovement 0
|
waitmovement 0
|
||||||
setvar VAR_0x409E, 3
|
setvar VAR_MOSSDEEP_SPACE_CENTER_STATE_1, 3
|
||||||
release
|
release
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -4,9 +4,9 @@ MossdeepCity_SpaceCenter_2F_MapScripts:: @ 8223D58
|
|||||||
.byte 0
|
.byte 0
|
||||||
|
|
||||||
MossdeepCity_SpaceCenter_2F_MapScript1_223D63: @ 8223D63
|
MossdeepCity_SpaceCenter_2F_MapScript1_223D63: @ 8223D63
|
||||||
compare VAR_0x405D, 2
|
compare VAR_MOSSDEEP_STATE, 2
|
||||||
call_if_eq MossdeepCity_SpaceCenter_2F_EventScript_223D7A
|
call_if_eq MossdeepCity_SpaceCenter_2F_EventScript_223D7A
|
||||||
compare VAR_0x409F, 2
|
compare VAR_MOSSDEEP_SPACE_CENTER_STATE_2, 2
|
||||||
call_if_eq MossdeepCity_SpaceCenter_2F_EventScript_223D9F
|
call_if_eq MossdeepCity_SpaceCenter_2F_EventScript_223D9F
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -27,7 +27,7 @@ MossdeepCity_SpaceCenter_2F_EventScript_223D9F:: @ 8223D9F
|
|||||||
return
|
return
|
||||||
|
|
||||||
MossdeepCity_SpaceCenter_2F_MapScript2_223DB5: @ 8223DB5
|
MossdeepCity_SpaceCenter_2F_MapScript2_223DB5: @ 8223DB5
|
||||||
map_script_2 VAR_0x409F, 1, MossdeepCity_SpaceCenter_2F_EventScript_223DBF
|
map_script_2 VAR_MOSSDEEP_SPACE_CENTER_STATE_2, 1, MossdeepCity_SpaceCenter_2F_EventScript_223DBF
|
||||||
.2byte 0
|
.2byte 0
|
||||||
|
|
||||||
MossdeepCity_SpaceCenter_2F_EventScript_223DBF:: @ 8223DBF
|
MossdeepCity_SpaceCenter_2F_EventScript_223DBF:: @ 8223DBF
|
||||||
@@ -69,7 +69,7 @@ MossdeepCity_SpaceCenter_2F_EventScript_223E09:: @ 8223E09
|
|||||||
trainerbattle_no_intro TRAINER_GRUNT_36, MossdeepCity_SpaceCenter_2F_Text_2244F1
|
trainerbattle_no_intro TRAINER_GRUNT_36, MossdeepCity_SpaceCenter_2F_Text_2244F1
|
||||||
applymovement 7, MossdeepCity_SpaceCenter_2F_Movement_223E89
|
applymovement 7, MossdeepCity_SpaceCenter_2F_Movement_223E89
|
||||||
waitmovement 0
|
waitmovement 0
|
||||||
setvar VAR_0x409F, 2
|
setvar VAR_MOSSDEEP_SPACE_CENTER_STATE_2, 2
|
||||||
moveobjectoffscreen 5
|
moveobjectoffscreen 5
|
||||||
moveobjectoffscreen 7
|
moveobjectoffscreen 7
|
||||||
moveobjectoffscreen 6
|
moveobjectoffscreen 6
|
||||||
@@ -98,9 +98,9 @@ MossdeepCity_SpaceCenter_2F_EventScript_223E8D:: @ 8223E8D
|
|||||||
lock
|
lock
|
||||||
faceplayer
|
faceplayer
|
||||||
goto_if_set FLAG_SYS_GAME_CLEAR, MossdeepCity_SpaceCenter_2F_EventScript_223EB4
|
goto_if_set FLAG_SYS_GAME_CLEAR, MossdeepCity_SpaceCenter_2F_EventScript_223EB4
|
||||||
compare VAR_0x405D, 2
|
compare VAR_MOSSDEEP_STATE, 2
|
||||||
goto_if_eq MossdeepCity_SpaceCenter_2F_EventScript_223EBE
|
goto_if_eq MossdeepCity_SpaceCenter_2F_EventScript_223EBE
|
||||||
compare VAR_0x405D, 2
|
compare VAR_MOSSDEEP_STATE, 2
|
||||||
goto_if_lt MossdeepCity_SpaceCenter_2F_EventScript_223EB4
|
goto_if_lt MossdeepCity_SpaceCenter_2F_EventScript_223EB4
|
||||||
goto MossdeepCity_SpaceCenter_2F_EventScript_223EBE
|
goto MossdeepCity_SpaceCenter_2F_EventScript_223EBE
|
||||||
end
|
end
|
||||||
@@ -119,9 +119,9 @@ MossdeepCity_SpaceCenter_2F_EventScript_223EC8:: @ 8223EC8
|
|||||||
lock
|
lock
|
||||||
faceplayer
|
faceplayer
|
||||||
goto_if_set FLAG_SYS_GAME_CLEAR, MossdeepCity_SpaceCenter_2F_EventScript_223EEF
|
goto_if_set FLAG_SYS_GAME_CLEAR, MossdeepCity_SpaceCenter_2F_EventScript_223EEF
|
||||||
compare VAR_0x405D, 2
|
compare VAR_MOSSDEEP_STATE, 2
|
||||||
goto_if_eq MossdeepCity_SpaceCenter_2F_EventScript_223EF9
|
goto_if_eq MossdeepCity_SpaceCenter_2F_EventScript_223EF9
|
||||||
compare VAR_0x405D, 2
|
compare VAR_MOSSDEEP_STATE, 2
|
||||||
goto_if_lt MossdeepCity_SpaceCenter_2F_EventScript_223EEF
|
goto_if_lt MossdeepCity_SpaceCenter_2F_EventScript_223EEF
|
||||||
goto MossdeepCity_SpaceCenter_2F_EventScript_223EF9
|
goto MossdeepCity_SpaceCenter_2F_EventScript_223EF9
|
||||||
end
|
end
|
||||||
@@ -140,9 +140,9 @@ MossdeepCity_SpaceCenter_2F_EventScript_223F03:: @ 8223F03
|
|||||||
lock
|
lock
|
||||||
faceplayer
|
faceplayer
|
||||||
goto_if_set FLAG_SYS_GAME_CLEAR, MossdeepCity_SpaceCenter_2F_EventScript_223F2A
|
goto_if_set FLAG_SYS_GAME_CLEAR, MossdeepCity_SpaceCenter_2F_EventScript_223F2A
|
||||||
compare VAR_0x405D, 2
|
compare VAR_MOSSDEEP_STATE, 2
|
||||||
goto_if_eq MossdeepCity_SpaceCenter_2F_EventScript_223F34
|
goto_if_eq MossdeepCity_SpaceCenter_2F_EventScript_223F34
|
||||||
compare VAR_0x405D, 2
|
compare VAR_MOSSDEEP_STATE, 2
|
||||||
goto_if_lt MossdeepCity_SpaceCenter_2F_EventScript_223F2A
|
goto_if_lt MossdeepCity_SpaceCenter_2F_EventScript_223F2A
|
||||||
goto MossdeepCity_SpaceCenter_2F_EventScript_223F34
|
goto MossdeepCity_SpaceCenter_2F_EventScript_223F34
|
||||||
end
|
end
|
||||||
@@ -287,10 +287,10 @@ MossdeepCity_SpaceCenter_2F_EventScript_224071:: @ 8224071
|
|||||||
delay 20
|
delay 20
|
||||||
msgbox MossdeepCity_SpaceCenter_2F_Text_2249DC, MSGBOX_DEFAULT
|
msgbox MossdeepCity_SpaceCenter_2F_Text_2249DC, MSGBOX_DEFAULT
|
||||||
closemessage
|
closemessage
|
||||||
setvar VAR_0x405D, 3
|
setvar VAR_MOSSDEEP_STATE, 3
|
||||||
fadedefaultbgm
|
fadedefaultbgm
|
||||||
fadescreen 1
|
fadescreen 1
|
||||||
setvar VAR_0x409F, 3
|
setvar VAR_MOSSDEEP_SPACE_CENTER_STATE_2, 3
|
||||||
setflag FLAG_HIDE_MOSSDEEP_CITY_SPACE_CENTER_1F_TEAM_MAGMA
|
setflag FLAG_HIDE_MOSSDEEP_CITY_SPACE_CENTER_1F_TEAM_MAGMA
|
||||||
setflag FLAG_HIDE_MOSSDEEP_CITY_SPACE_CENTER_2F_TEAM_MAGMA
|
setflag FLAG_HIDE_MOSSDEEP_CITY_SPACE_CENTER_2F_TEAM_MAGMA
|
||||||
setflag FLAG_HIDE_MOSSDEEP_CITY_TEAM_MAGMA
|
setflag FLAG_HIDE_MOSSDEEP_CITY_TEAM_MAGMA
|
||||||
|
|||||||
@@ -229,7 +229,7 @@
|
|||||||
"x": 4,
|
"x": 4,
|
||||||
"y": 10,
|
"y": 10,
|
||||||
"elevation": 3,
|
"elevation": 3,
|
||||||
"var": "VAR_0x40C9",
|
"var": "VAR_SCOTT_PETALBURG_ENCOUNTER",
|
||||||
"var_value": "0",
|
"var_value": "0",
|
||||||
"script": "PetalburgCity_EventScript_1DC691"
|
"script": "PetalburgCity_EventScript_1DC691"
|
||||||
},
|
},
|
||||||
@@ -238,7 +238,7 @@
|
|||||||
"x": 4,
|
"x": 4,
|
||||||
"y": 11,
|
"y": 11,
|
||||||
"elevation": 3,
|
"elevation": 3,
|
||||||
"var": "VAR_0x40C9",
|
"var": "VAR_SCOTT_PETALBURG_ENCOUNTER",
|
||||||
"var_value": "0",
|
"var_value": "0",
|
||||||
"script": "PetalburgCity_EventScript_1DC6A7"
|
"script": "PetalburgCity_EventScript_1DC6A7"
|
||||||
},
|
},
|
||||||
@@ -247,7 +247,7 @@
|
|||||||
"x": 4,
|
"x": 4,
|
||||||
"y": 12,
|
"y": 12,
|
||||||
"elevation": 3,
|
"elevation": 3,
|
||||||
"var": "VAR_0x40C9",
|
"var": "VAR_SCOTT_PETALBURG_ENCOUNTER",
|
||||||
"var_value": "0",
|
"var_value": "0",
|
||||||
"script": "PetalburgCity_EventScript_1DC6BD"
|
"script": "PetalburgCity_EventScript_1DC6BD"
|
||||||
},
|
},
|
||||||
@@ -256,7 +256,7 @@
|
|||||||
"x": 4,
|
"x": 4,
|
||||||
"y": 13,
|
"y": 13,
|
||||||
"elevation": 3,
|
"elevation": 3,
|
||||||
"var": "VAR_0x40C9",
|
"var": "VAR_SCOTT_PETALBURG_ENCOUNTER",
|
||||||
"var_value": "0",
|
"var_value": "0",
|
||||||
"script": "PetalburgCity_EventScript_1DC6D3"
|
"script": "PetalburgCity_EventScript_1DC6D3"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -551,7 +551,7 @@ PetalburgCity_EventScript_1DC6E9:: @ 81DC6E9
|
|||||||
waitmovement 0
|
waitmovement 0
|
||||||
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceRight
|
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceRight
|
||||||
waitmovement 0
|
waitmovement 0
|
||||||
setvar VAR_0x40D1, 1
|
setvar VAR_SCOTT_STATE, 1
|
||||||
msgbox PetalburgCity_Text_1DCB31, MSGBOX_DEFAULT
|
msgbox PetalburgCity_Text_1DCB31, MSGBOX_DEFAULT
|
||||||
closemessage
|
closemessage
|
||||||
applymovement 9, Common_Movement_WalkInPlaceRight
|
applymovement 9, Common_Movement_WalkInPlaceRight
|
||||||
@@ -572,7 +572,7 @@ PetalburgCity_EventScript_1DC6E9:: @ 81DC6E9
|
|||||||
call_if_eq PetalburgCity_EventScript_1DC7B2
|
call_if_eq PetalburgCity_EventScript_1DC7B2
|
||||||
compare VAR_0x8008, 3
|
compare VAR_0x8008, 3
|
||||||
call_if_eq PetalburgCity_EventScript_1DC7C4
|
call_if_eq PetalburgCity_EventScript_1DC7C4
|
||||||
setvar VAR_0x40C9, 1
|
setvar VAR_SCOTT_PETALBURG_ENCOUNTER, 1
|
||||||
removeobject 9
|
removeobject 9
|
||||||
releaseall
|
releaseall
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ PetalburgCity_Gym_EventScript_204955:: @ 8204955
|
|||||||
return
|
return
|
||||||
|
|
||||||
PetalburgCity_Gym_EventScript_20495D:: @ 820495D
|
PetalburgCity_Gym_EventScript_20495D:: @ 820495D
|
||||||
setorcopyvar VAR_0x8015, 269
|
setorcopyvar VAR_TRAINER_BATTLE_OPPONENT_A, 269
|
||||||
specialvar VAR_RESULT, IsTrainerReadyForRematch
|
specialvar VAR_RESULT, IsTrainerReadyForRematch
|
||||||
compare VAR_RESULT, 1
|
compare VAR_RESULT, 1
|
||||||
goto_if_eq PetalburgCity_Gym_EventScript_204985
|
goto_if_eq PetalburgCity_Gym_EventScript_204985
|
||||||
|
|||||||
@@ -6,10 +6,10 @@ Route105_MapScripts:: @ 81EE1DB
|
|||||||
|
|
||||||
Route105_MapScript1_1EE1EB: @ 81EE1EB
|
Route105_MapScript1_1EE1EB: @ 81EE1EB
|
||||||
call_if_unset FLAG_REGI_DOORS_OPENED, Route105_EventScript_1EE20B
|
call_if_unset FLAG_REGI_DOORS_OPENED, Route105_EventScript_1EE20B
|
||||||
compare VAR_0x4037, 9
|
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_105_NORTH
|
||||||
call_if_eq Route105_EventScript_2739AB
|
call_if_eq UnusualWeather_EventScript_PlaceTilesRoute105North
|
||||||
compare VAR_0x4037, 10
|
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_105_SOUTH
|
||||||
call_if_eq Route105_EventScript_273A18
|
call_if_eq UnusualWeather_EventScript_PlaceTilesRoute105South
|
||||||
end
|
end
|
||||||
|
|
||||||
Route105_EventScript_1EE20B:: @ 81EE20B
|
Route105_EventScript_1EE20B:: @ 81EE20B
|
||||||
@@ -18,16 +18,16 @@ Route105_EventScript_1EE20B:: @ 81EE20B
|
|||||||
return
|
return
|
||||||
|
|
||||||
Route105_MapScript1_1EE21E: @ 81EE21E
|
Route105_MapScript1_1EE21E: @ 81EE21E
|
||||||
compare VAR_0x4039, 1
|
compare VAR_SHOULD_END_UNUSUAL_WEATHER, 1
|
||||||
call_if_eq Route105_EventScript_273D13
|
call_if_eq Route105_EventScript_273D13
|
||||||
compare VAR_0x4037, 9
|
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_105_NORTH
|
||||||
call_if_eq Route105_EventScript_273D17
|
call_if_eq UnusualWeather_StartKyogreWeather
|
||||||
compare VAR_0x4037, 10
|
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_105_SOUTH
|
||||||
call_if_eq Route105_EventScript_273D17
|
call_if_eq UnusualWeather_StartKyogreWeather
|
||||||
end
|
end
|
||||||
|
|
||||||
Route105_MapScript2_1EE240: @ 81EE240
|
Route105_MapScript2_1EE240: @ 81EE240
|
||||||
map_script_2 VAR_0x4039, 1, gUnknown_08273D1F
|
map_script_2 VAR_SHOULD_END_UNUSUAL_WEATHER, 1, UnusualWeather_EventScript_EndEventAndCleanup_1
|
||||||
.2byte 0
|
.2byte 0
|
||||||
|
|
||||||
Route105_EventScript_1EE24A:: @ 81EE24A
|
Route105_EventScript_1EE24A:: @ 81EE24A
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ Route111_MapScripts:: @ 81F0CA7
|
|||||||
|
|
||||||
Route111_MapScript1_1F0CBC: @ 81F0CBC
|
Route111_MapScript1_1F0CBC: @ 81F0CBC
|
||||||
call_if_unset FLAG_REGI_DOORS_OPENED, Route111_EventScript_1F0CD1
|
call_if_unset FLAG_REGI_DOORS_OPENED, Route111_EventScript_1F0CD1
|
||||||
compare VAR_0x40CB, 1
|
compare VAR_ROUTE_111_STATE, 1
|
||||||
call_if_eq Route111_EventScript_1F0CE4
|
call_if_eq Route111_EventScript_1F0CE4
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -38,12 +38,12 @@ Route111_EventScript_1F0CE4:: @ 81F0CE4
|
|||||||
return
|
return
|
||||||
|
|
||||||
Route111_MapScript1_1F0D87: @ 81F0D87
|
Route111_MapScript1_1F0D87: @ 81F0D87
|
||||||
setvar VAR_0x40D6, 0
|
setvar VAR_TRAINER_HILL_IS_ACTIVE, 0
|
||||||
special SetMirageTowerVisibility
|
special SetMirageTowerVisibility
|
||||||
call_if_unset FLAG_MIRAGE_TOWER_VISIBLE, Route111_EventScript_1F0E3C
|
call_if_unset FLAG_MIRAGE_TOWER_VISIBLE, Route111_EventScript_1F0E3C
|
||||||
compare VAR_0x40CB, 1
|
compare VAR_ROUTE_111_STATE, 1
|
||||||
call_if_eq Route111_EventScript_1F0DC2
|
call_if_eq Route111_EventScript_1F0DC2
|
||||||
compare VAR_0x40CB, 2
|
compare VAR_ROUTE_111_STATE, 2
|
||||||
call_if_eq Route111_EventScript_1F0E40
|
call_if_eq Route111_EventScript_1F0E40
|
||||||
call Route111_EventScript_1F0DE6
|
call Route111_EventScript_1F0DE6
|
||||||
call Route111_EventScript_28CCC7
|
call Route111_EventScript_28CCC7
|
||||||
@@ -101,11 +101,11 @@ Route111_EventScript_1F0E3C:: @ 81F0E3C
|
|||||||
return
|
return
|
||||||
|
|
||||||
Route111_EventScript_1F0E40:: @ 81F0E40
|
Route111_EventScript_1F0E40:: @ 81F0E40
|
||||||
setvar VAR_0x40CB, 3
|
setvar VAR_ROUTE_111_STATE, 3
|
||||||
return
|
return
|
||||||
|
|
||||||
Route111_MapScript2_1F0E46: @ 81F0E46
|
Route111_MapScript2_1F0E46: @ 81F0E46
|
||||||
map_script_2 VAR_0x40CB, 1, Route111_EventScript_1F0E50
|
map_script_2 VAR_ROUTE_111_STATE, 1, Route111_EventScript_1F0E50
|
||||||
.2byte 0
|
.2byte 0
|
||||||
|
|
||||||
Route111_EventScript_1F0E50:: @ 81F0E50
|
Route111_EventScript_1F0E50:: @ 81F0E50
|
||||||
@@ -113,7 +113,7 @@ Route111_EventScript_1F0E50:: @ 81F0E50
|
|||||||
end
|
end
|
||||||
|
|
||||||
Route111_MapScript2_1F0E56: @ 81F0E56
|
Route111_MapScript2_1F0E56: @ 81F0E56
|
||||||
map_script_2 VAR_0x40CB, 1, Route111_EventScript_1F0E60
|
map_script_2 VAR_ROUTE_111_STATE, 1, Route111_EventScript_1F0E60
|
||||||
.2byte 0
|
.2byte 0
|
||||||
|
|
||||||
Route111_EventScript_1F0E60:: @ 81F0E60
|
Route111_EventScript_1F0E60:: @ 81F0E60
|
||||||
@@ -134,7 +134,7 @@ Route111_EventScript_1F0E60:: @ 81F0E60
|
|||||||
waitstate
|
waitstate
|
||||||
special StartMirageTowerFossilFallAndSink
|
special StartMirageTowerFossilFallAndSink
|
||||||
waitstate
|
waitstate
|
||||||
setvar VAR_0x40CB, 2
|
setvar VAR_ROUTE_111_STATE, 2
|
||||||
clearflag FLAG_HIDE_DESERT_UNDERPASS_FOSSIL
|
clearflag FLAG_HIDE_DESERT_UNDERPASS_FOSSIL
|
||||||
goto_if_set FLAG_CHOSE_ROOT_FOSSIL, Route111_EventScript_1F0EA7
|
goto_if_set FLAG_CHOSE_ROOT_FOSSIL, Route111_EventScript_1F0EA7
|
||||||
msgbox Route111_Text_1F1C74, MSGBOX_DEFAULT
|
msgbox Route111_Text_1F1C74, MSGBOX_DEFAULT
|
||||||
@@ -411,9 +411,9 @@ Route111_EventScript_1F1192:: @ 81F1192
|
|||||||
Route111_EventScript_1F119B:: @ 81F119B
|
Route111_EventScript_1F119B:: @ 81F119B
|
||||||
lock
|
lock
|
||||||
faceplayer
|
faceplayer
|
||||||
compare VAR_0x40CB, 3
|
compare VAR_ROUTE_111_STATE, 3
|
||||||
goto_if_eq Route111_EventScript_1F11C6
|
goto_if_eq Route111_EventScript_1F11C6
|
||||||
compare VAR_0x40CB, 2
|
compare VAR_ROUTE_111_STATE, 2
|
||||||
goto_if_eq Route111_EventScript_1F11D0
|
goto_if_eq Route111_EventScript_1F11D0
|
||||||
goto_if_set FLAG_MIRAGE_TOWER_VISIBLE, Route111_EventScript_1F11DA
|
goto_if_set FLAG_MIRAGE_TOWER_VISIBLE, Route111_EventScript_1F11DA
|
||||||
msgbox Route111_Text_1F1A22, MSGBOX_DEFAULT
|
msgbox Route111_Text_1F1A22, MSGBOX_DEFAULT
|
||||||
|
|||||||
@@ -5,23 +5,23 @@ Route114_MapScripts:: @ 81F252F
|
|||||||
.byte 0
|
.byte 0
|
||||||
|
|
||||||
Route114_MapScript1_1F253F: @ 81F253F
|
Route114_MapScript1_1F253F: @ 81F253F
|
||||||
compare VAR_0x4039, 1
|
compare VAR_SHOULD_END_UNUSUAL_WEATHER, 1
|
||||||
call_if_eq Route114_EventScript_273D13
|
call_if_eq Route114_EventScript_273D13
|
||||||
compare VAR_0x4037, 1
|
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_114_NORTH
|
||||||
call_if_eq Route114_EventScript_273D1B
|
call_if_eq UnusualWeather_StartGroudonWeather
|
||||||
compare VAR_0x4037, 2
|
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_114_SOUTH
|
||||||
call_if_eq Route114_EventScript_273D1B
|
call_if_eq UnusualWeather_StartGroudonWeather
|
||||||
end
|
end
|
||||||
|
|
||||||
Route114_MapScript1_1F2561: @ 81F2561
|
Route114_MapScript1_1F2561: @ 81F2561
|
||||||
compare VAR_0x4037, 1
|
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_114_NORTH
|
||||||
call_if_eq Route114_EventScript_273913
|
call_if_eq UnusualWeather_EventScript_PlaceTilesRoute114North
|
||||||
compare VAR_0x4037, 2
|
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_114_SOUTH
|
||||||
call_if_eq Route114_EventScript_273926
|
call_if_eq UnusualWeather_EventScript_PlaceTilesRoute114South
|
||||||
end
|
end
|
||||||
|
|
||||||
Route114_MapScript2_1F2578: @ 81F2578
|
Route114_MapScript2_1F2578: @ 81F2578
|
||||||
map_script_2 VAR_0x4039, 1, gUnknown_08273D1F
|
map_script_2 VAR_SHOULD_END_UNUSUAL_WEATHER, 1, UnusualWeather_EventScript_EndEventAndCleanup_1
|
||||||
.2byte 0
|
.2byte 0
|
||||||
|
|
||||||
Route114_EventScript_1F2582:: @ 81F2582
|
Route114_EventScript_1F2582:: @ 81F2582
|
||||||
|
|||||||
@@ -57,7 +57,7 @@
|
|||||||
"x": 5,
|
"x": 5,
|
||||||
"y": 4,
|
"y": 4,
|
||||||
"elevation": 3,
|
"elevation": 3,
|
||||||
"var": "VAR_0x40CC",
|
"var": "VAR_FOSSIL_MANIAC_STATE",
|
||||||
"var_value": "1",
|
"var_value": "1",
|
||||||
"script": "Route114_FossilManiacsTunnel_EventScript_22AF66"
|
"script": "Route114_FossilManiacsTunnel_EventScript_22AF66"
|
||||||
},
|
},
|
||||||
@@ -66,7 +66,7 @@
|
|||||||
"x": 6,
|
"x": 6,
|
||||||
"y": 4,
|
"y": 4,
|
||||||
"elevation": 3,
|
"elevation": 3,
|
||||||
"var": "VAR_0x40CC",
|
"var": "VAR_FOSSIL_MANIAC_STATE",
|
||||||
"var_value": "1",
|
"var_value": "1",
|
||||||
"script": "Route114_FossilManiacsTunnel_EventScript_22AF66"
|
"script": "Route114_FossilManiacsTunnel_EventScript_22AF66"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ Route114_FossilManiacsTunnel_EventScript_22AF66:: @ 822AF66
|
|||||||
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceDown
|
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceDown
|
||||||
waitmovement 0
|
waitmovement 0
|
||||||
msgbox Route114_FossilManiacsTunnel_Text_22B1F7, MSGBOX_DEFAULT
|
msgbox Route114_FossilManiacsTunnel_Text_22B1F7, MSGBOX_DEFAULT
|
||||||
setvar VAR_0x40CC, 2
|
setvar VAR_FOSSIL_MANIAC_STATE, 2
|
||||||
releaseall
|
releaseall
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -5,23 +5,23 @@ Route115_MapScripts:: @ 81F2920
|
|||||||
.byte 0
|
.byte 0
|
||||||
|
|
||||||
Route115_MapScript1_1F2930: @ 81F2930
|
Route115_MapScript1_1F2930: @ 81F2930
|
||||||
compare VAR_0x4037, 3
|
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_115_WEST
|
||||||
call_if_eq Route115_EventScript_273939
|
call_if_eq UnusualWeather_EventScript_PlaceTilesRoute115West
|
||||||
compare VAR_0x4037, 4
|
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_115_EAST
|
||||||
call_if_eq Route115_EventScript_27394C
|
call_if_eq UnusualWeather_EventScript_PlaceTilesRoute115East
|
||||||
end
|
end
|
||||||
|
|
||||||
Route115_MapScript1_1F2947: @ 81F2947
|
Route115_MapScript1_1F2947: @ 81F2947
|
||||||
compare VAR_0x4039, 1
|
compare VAR_SHOULD_END_UNUSUAL_WEATHER, 1
|
||||||
call_if_eq Route115_EventScript_273D13
|
call_if_eq Route115_EventScript_273D13
|
||||||
compare VAR_0x4037, 3
|
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_115_WEST
|
||||||
call_if_eq Route115_EventScript_273D1B
|
call_if_eq UnusualWeather_StartGroudonWeather
|
||||||
compare VAR_0x4037, 4
|
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_115_EAST
|
||||||
call_if_eq Route115_EventScript_273D1B
|
call_if_eq UnusualWeather_StartGroudonWeather
|
||||||
end
|
end
|
||||||
|
|
||||||
Route115_MapScript2_1F2969: @ 81F2969
|
Route115_MapScript2_1F2969: @ 81F2969
|
||||||
map_script_2 VAR_0x4039, 1, gUnknown_08273D1F
|
map_script_2 VAR_SHOULD_END_UNUSUAL_WEATHER, 1, UnusualWeather_EventScript_EndEventAndCleanup_1
|
||||||
.2byte 0
|
.2byte 0
|
||||||
|
|
||||||
Route115_EventScript_1F2973:: @ 81F2973
|
Route115_EventScript_1F2973:: @ 81F2973
|
||||||
|
|||||||
@@ -6,12 +6,12 @@ Route116_MapScripts:: @ 81F2C0C
|
|||||||
|
|
||||||
Route116_MapScript1_1F2C1C: @ 81F2C1C
|
Route116_MapScript1_1F2C1C: @ 81F2C1C
|
||||||
call_if_set FLAG_RECOVERED_DEVON_GOODS, Route116_EventScript_1F2C47
|
call_if_set FLAG_RECOVERED_DEVON_GOODS, Route116_EventScript_1F2C47
|
||||||
compare VAR_0x4039, 1
|
compare VAR_SHOULD_END_UNUSUAL_WEATHER, 1
|
||||||
call_if_eq Route116_EventScript_273D13
|
call_if_eq Route116_EventScript_273D13
|
||||||
compare VAR_0x4037, 5
|
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_116_NORTH
|
||||||
call_if_eq Route116_EventScript_273D1B
|
call_if_eq UnusualWeather_StartGroudonWeather
|
||||||
compare VAR_0x4037, 6
|
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_116_SOUTH
|
||||||
call_if_eq Route116_EventScript_273D1B
|
call_if_eq UnusualWeather_StartGroudonWeather
|
||||||
end
|
end
|
||||||
|
|
||||||
Route116_EventScript_1F2C47:: @ 81F2C47
|
Route116_EventScript_1F2C47:: @ 81F2C47
|
||||||
@@ -19,14 +19,14 @@ Route116_EventScript_1F2C47:: @ 81F2C47
|
|||||||
return
|
return
|
||||||
|
|
||||||
Route116_MapScript1_1F2C4F: @ 81F2C4F
|
Route116_MapScript1_1F2C4F: @ 81F2C4F
|
||||||
compare VAR_0x4037, 5
|
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_116_NORTH
|
||||||
call_if_eq Route116_EventScript_27395F
|
call_if_eq UnusualWeather_EventScript_PlaceTilesRoute116North
|
||||||
compare VAR_0x4037, 6
|
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_116_SOUTH
|
||||||
call_if_eq Route116_EventScript_273972
|
call_if_eq UnusualWeather_EventScript_PlaceTilesRoute116South
|
||||||
end
|
end
|
||||||
|
|
||||||
Route116_MapScript2_1F2C66: @ 81F2C66
|
Route116_MapScript2_1F2C66: @ 81F2C66
|
||||||
map_script_2 VAR_0x4039, 1, gUnknown_08273D1F
|
map_script_2 VAR_SHOULD_END_UNUSUAL_WEATHER, 1, UnusualWeather_EventScript_EndEventAndCleanup_1
|
||||||
.2byte 0
|
.2byte 0
|
||||||
|
|
||||||
Route116_EventScript_1F2C70:: @ 81F2C70
|
Route116_EventScript_1F2C70:: @ 81F2C70
|
||||||
|
|||||||
@@ -6,23 +6,23 @@ Route118_MapScripts:: @ 81F3DBC
|
|||||||
|
|
||||||
Route118_MapScript1_1F3DCC: @ 81F3DCC
|
Route118_MapScript1_1F3DCC: @ 81F3DCC
|
||||||
call Route118_EventScript_28CCC7
|
call Route118_EventScript_28CCC7
|
||||||
compare VAR_0x4039, 1
|
compare VAR_SHOULD_END_UNUSUAL_WEATHER, 1
|
||||||
call_if_eq Route118_EventScript_273D13
|
call_if_eq Route118_EventScript_273D13
|
||||||
compare VAR_0x4037, 7
|
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_118_EAST
|
||||||
call_if_eq Route118_EventScript_273D1B
|
call_if_eq UnusualWeather_StartGroudonWeather
|
||||||
compare VAR_0x4037, 8
|
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_118_WEST
|
||||||
call_if_eq Route118_EventScript_273D1B
|
call_if_eq UnusualWeather_StartGroudonWeather
|
||||||
end
|
end
|
||||||
|
|
||||||
Route118_MapScript1_1F3DF3: @ 81F3DF3
|
Route118_MapScript1_1F3DF3: @ 81F3DF3
|
||||||
compare VAR_0x4037, 7
|
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_118_EAST
|
||||||
call_if_eq Route118_EventScript_273985
|
call_if_eq UnusualWeather_EventScript_PlaceTilesRoute118East
|
||||||
compare VAR_0x4037, 8
|
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_118_WEST
|
||||||
call_if_eq Route118_EventScript_273998
|
call_if_eq UnusualWeather_EventScript_PlaceTilesRoute118West
|
||||||
end
|
end
|
||||||
|
|
||||||
Route118_MapScript2_1F3E0A: @ 81F3E0A
|
Route118_MapScript2_1F3E0A: @ 81F3E0A
|
||||||
map_script_2 VAR_0x4039, 1, gUnknown_08273D1F
|
map_script_2 VAR_SHOULD_END_UNUSUAL_WEATHER, 1, UnusualWeather_EventScript_EndEventAndCleanup_1
|
||||||
.2byte 0
|
.2byte 0
|
||||||
|
|
||||||
Route118_EventScript_1F3E14:: @ 81F3E14
|
Route118_EventScript_1F3E14:: @ 81F3E14
|
||||||
|
|||||||
@@ -167,7 +167,7 @@ Route119_EventScript_1F460F:: @ 81F460F
|
|||||||
addobject 43
|
addobject 43
|
||||||
applymovement 43, Route119_Movement_1F4752
|
applymovement 43, Route119_Movement_1F4752
|
||||||
waitmovement 0
|
waitmovement 0
|
||||||
addvar VAR_0x40D1, 1
|
addvar VAR_SCOTT_STATE, 1
|
||||||
msgbox Route119_Text_1F4E60, MSGBOX_DEFAULT
|
msgbox Route119_Text_1F4E60, MSGBOX_DEFAULT
|
||||||
closemessage
|
closemessage
|
||||||
compare VAR_TEMP_1, 1
|
compare VAR_TEMP_1, 1
|
||||||
@@ -491,7 +491,7 @@ Route119_EventScript_1F49EC:: @ 81F49EC
|
|||||||
pokenavcall Route119_Text_1F4FBA
|
pokenavcall Route119_Text_1F4FBA
|
||||||
waitmessage
|
waitmessage
|
||||||
clearflag FLAG_REGISTER_WINONA_POKENAV
|
clearflag FLAG_REGISTER_WINONA_POKENAV
|
||||||
addvar VAR_0x40D1, 1
|
addvar VAR_SCOTT_STATE, 1
|
||||||
releaseall
|
releaseall
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -131,41 +131,43 @@ Route119_WeatherInstitute_2F_EventScript_2700EA:: @ 82700EA
|
|||||||
end
|
end
|
||||||
|
|
||||||
Route119_WeatherInstitute_2F_EventScript_2700F7:: @ 82700F7
|
Route119_WeatherInstitute_2F_EventScript_2700F7:: @ 82700F7
|
||||||
goto_if_set FLAG_SYS_GAME_CLEAR, Route119_WeatherInstitute_2F_EventScript_27010A
|
goto_if_set FLAG_SYS_GAME_CLEAR, Route119_WeatherInstitute_2F_EventScript_TryStartUnusualWeather
|
||||||
msgbox Route119_WeatherInstitute_2F_Text_27077E, MSGBOX_DEFAULT
|
msgbox Route119_WeatherInstitute_2F_Text_27077E, MSGBOX_DEFAULT
|
||||||
release
|
release
|
||||||
end
|
end
|
||||||
|
|
||||||
Route119_WeatherInstitute_2F_EventScript_27010A:: @ 827010A
|
Route119_WeatherInstitute_2F_EventScript_TryStartUnusualWeather:: @ 827010A
|
||||||
|
@ This code uses VAR_0x8004 to count the number of legendaries the player has defeated
|
||||||
|
@ already.
|
||||||
setvar VAR_0x8004, 0
|
setvar VAR_0x8004, 0
|
||||||
call_if_set FLAG_DEFEATED_KYOGRE, Route119_WeatherInstitute_2F_EventScript_270160
|
call_if_set FLAG_DEFEATED_KYOGRE, WeatherInstitute_UnusualWeather_EventScript_IncrementLegendCount
|
||||||
call_if_set FLAG_DEFEATED_GROUDON, Route119_WeatherInstitute_2F_EventScript_270160
|
call_if_set FLAG_DEFEATED_GROUDON, WeatherInstitute_UnusualWeather_EventScript_IncrementLegendCount
|
||||||
compare VAR_0x8004, 2
|
compare VAR_0x8004, 2
|
||||||
goto_if_eq Route119_WeatherInstitute_2F_EventScript_270166
|
goto_if_eq WeatherInstitute_UnusualWeather_EventScript_ShowLegendariesAlreadyDefeated
|
||||||
call_if_unset FLAG_TEMP_2, Route119_WeatherInstitute_2F_EventScript_270159
|
call_if_unset FLAG_TEMP_2, WeatherInstitute_UnusualWeather_EventScript_DoCreateUnusualWeather
|
||||||
specialvar VAR_RESULT, sub_813B374
|
specialvar VAR_RESULT, GetUnusualWeatherMapNameAndType
|
||||||
compare VAR_RESULT, 1
|
compare VAR_RESULT, 1
|
||||||
goto_if_eq Route119_WeatherInstitute_2F_EventScript_27014F
|
goto_if_eq WeatherInstitute_UnusualWeather_EventScript_ShowKyogreWeatherMessage
|
||||||
msgbox Route119_WeatherInstitute_2F_Text_2707F1, MSGBOX_DEFAULT
|
msgbox WeatherInstitute_UnusualWeather_GroudonWeatherText, MSGBOX_DEFAULT
|
||||||
release
|
release
|
||||||
end
|
end
|
||||||
|
|
||||||
Route119_WeatherInstitute_2F_EventScript_27014F:: @ 827014F
|
WeatherInstitute_UnusualWeather_EventScript_ShowKyogreWeatherMessage:: @ 827014F
|
||||||
msgbox Route119_WeatherInstitute_2F_Text_270873, MSGBOX_DEFAULT
|
msgbox WeatherInstitute_UnusualWeather_KyogreWeatherText, MSGBOX_DEFAULT
|
||||||
release
|
release
|
||||||
end
|
end
|
||||||
|
|
||||||
Route119_WeatherInstitute_2F_EventScript_270159:: @ 8270159
|
WeatherInstitute_UnusualWeather_EventScript_DoCreateUnusualWeather:: @ 8270159
|
||||||
special sub_813B2E4
|
special CreateUnusualWeatherEvent
|
||||||
setflag FLAG_TEMP_2
|
setflag FLAG_TEMP_2
|
||||||
return
|
return
|
||||||
|
|
||||||
Route119_WeatherInstitute_2F_EventScript_270160:: @ 8270160
|
WeatherInstitute_UnusualWeather_EventScript_IncrementLegendCount:: @ 8270160
|
||||||
addvar VAR_0x8004, 1
|
addvar VAR_0x8004, 1
|
||||||
return
|
return
|
||||||
|
|
||||||
Route119_WeatherInstitute_2F_EventScript_270166:: @ 8270166
|
WeatherInstitute_UnusualWeather_EventScript_ShowLegendariesAlreadyDefeated:: @ 8270166
|
||||||
msgbox Route119_WeatherInstitute_2F_Text_2708FC, MSGBOX_DEFAULT
|
msgbox WeatherInstitute_UnusualWeather_EventScript_ShowLegendariesAlreadyDefeatedText, MSGBOX_DEFAULT
|
||||||
release
|
release
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -309,7 +311,7 @@ Route119_WeatherInstitute_2F_Text_27077E: @ 827077E
|
|||||||
.string "years, but it's ridiculous to think that\l"
|
.string "years, but it's ridiculous to think that\l"
|
||||||
.string "humans can freely change the weather.$"
|
.string "humans can freely change the weather.$"
|
||||||
|
|
||||||
Route119_WeatherInstitute_2F_Text_2707F1: @ 82707F1
|
WeatherInstitute_UnusualWeather_GroudonWeatherText: @ 82707F1
|
||||||
.string "I track weather patterns over\n"
|
.string "I track weather patterns over\n"
|
||||||
.string "the HOENN region.\p"
|
.string "the HOENN region.\p"
|
||||||
.string "Presently, a drought has been recorded\n"
|
.string "Presently, a drought has been recorded\n"
|
||||||
@@ -317,7 +319,7 @@ Route119_WeatherInstitute_2F_Text_2707F1: @ 82707F1
|
|||||||
.string "Could that mean, somewhere near\n"
|
.string "Could that mean, somewhere near\n"
|
||||||
.string "{STR_VAR_1}…$"
|
.string "{STR_VAR_1}…$"
|
||||||
|
|
||||||
Route119_WeatherInstitute_2F_Text_270873: @ 8270873
|
WeatherInstitute_UnusualWeather_KyogreWeatherText: @ 8270873
|
||||||
.string "I track weather patterns over\n"
|
.string "I track weather patterns over\n"
|
||||||
.string "the HOENN region.\p"
|
.string "the HOENN region.\p"
|
||||||
.string "Presently, heavy rainfall has been\n"
|
.string "Presently, heavy rainfall has been\n"
|
||||||
@@ -325,7 +327,7 @@ Route119_WeatherInstitute_2F_Text_270873: @ 8270873
|
|||||||
.string "Could that mean, somewhere near\n"
|
.string "Could that mean, somewhere near\n"
|
||||||
.string "{STR_VAR_1}…$"
|
.string "{STR_VAR_1}…$"
|
||||||
|
|
||||||
Route119_WeatherInstitute_2F_Text_2708FC: @ 82708FC
|
WeatherInstitute_UnusualWeather_EventScript_ShowLegendariesAlreadyDefeatedText: @ 82708FC
|
||||||
.string "Abnormal weather conditions are\n"
|
.string "Abnormal weather conditions are\n"
|
||||||
.string "no longer being reported.\p"
|
.string "no longer being reported.\p"
|
||||||
.string "The occasional rainfall is a blessing,\n"
|
.string "The occasional rainfall is a blessing,\n"
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"region_map_section": "MAPSEC_ROUTE_124",
|
"region_map_section": "MAPSEC_ROUTE_124",
|
||||||
"requires_flash": false,
|
"requires_flash": false,
|
||||||
"weather": "WEATHER_SUNNY",
|
"weather": "WEATHER_SUNNY",
|
||||||
"map_type": "MAP_TYPE_6",
|
"map_type": "MAP_TYPE_OCEAN_ROUTE",
|
||||||
"allow_bike": true,
|
"allow_bike": true,
|
||||||
"allow_escape_rope": false,
|
"allow_escape_rope": false,
|
||||||
"allow_running": true,
|
"allow_running": true,
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"region_map_section": "MAPSEC_ROUTE_125",
|
"region_map_section": "MAPSEC_ROUTE_125",
|
||||||
"requires_flash": false,
|
"requires_flash": false,
|
||||||
"weather": "WEATHER_SUNNY",
|
"weather": "WEATHER_SUNNY",
|
||||||
"map_type": "MAP_TYPE_6",
|
"map_type": "MAP_TYPE_OCEAN_ROUTE",
|
||||||
"allow_bike": true,
|
"allow_bike": true,
|
||||||
"allow_escape_rope": false,
|
"allow_escape_rope": false,
|
||||||
"allow_running": true,
|
"allow_running": true,
|
||||||
|
|||||||
@@ -6,23 +6,23 @@ Route125_MapScripts:: @ 81F6748
|
|||||||
|
|
||||||
Route125_MapScript1_1F6758: @ 81F6758
|
Route125_MapScript1_1F6758: @ 81F6758
|
||||||
call_if_set FLAG_SYS_WEATHER_CTRL, Common_EventScript_SetWeather15
|
call_if_set FLAG_SYS_WEATHER_CTRL, Common_EventScript_SetWeather15
|
||||||
compare VAR_0x4039, 1
|
compare VAR_SHOULD_END_UNUSUAL_WEATHER, 1
|
||||||
call_if_eq Route125_EventScript_273D13
|
call_if_eq Route125_EventScript_273D13
|
||||||
compare VAR_0x4037, 11
|
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_125_WEST
|
||||||
call_if_eq Route125_EventScript_273D17
|
call_if_eq UnusualWeather_StartKyogreWeather
|
||||||
compare VAR_0x4037, 12
|
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_125_EAST
|
||||||
call_if_eq Route125_EventScript_273D17
|
call_if_eq UnusualWeather_StartKyogreWeather
|
||||||
end
|
end
|
||||||
|
|
||||||
Route125_MapScript1_1F6783: @ 81F6783
|
Route125_MapScript1_1F6783: @ 81F6783
|
||||||
compare VAR_0x4037, 11
|
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_125_WEST
|
||||||
call_if_eq Route125_EventScript_273A85
|
call_if_eq UnusualWeather_EventScript_PlaceTilesRoute125West
|
||||||
compare VAR_0x4037, 12
|
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_125_EAST
|
||||||
call_if_eq Route125_EventScript_273AF2
|
call_if_eq UnusualWeather_EventScript_PlaceTilesRoute125East
|
||||||
end
|
end
|
||||||
|
|
||||||
Route125_MapScript2_1F679A: @ 81F679A
|
Route125_MapScript2_1F679A: @ 81F679A
|
||||||
map_script_2 VAR_0x4039, 1, gUnknown_08273D1F
|
map_script_2 VAR_SHOULD_END_UNUSUAL_WEATHER, 1, UnusualWeather_EventScript_EndEventAndCleanup_1
|
||||||
.2byte 0
|
.2byte 0
|
||||||
|
|
||||||
Route125_EventScript_1F67A4:: @ 81F67A4
|
Route125_EventScript_1F67A4:: @ 81F67A4
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"region_map_section": "MAPSEC_ROUTE_126",
|
"region_map_section": "MAPSEC_ROUTE_126",
|
||||||
"requires_flash": false,
|
"requires_flash": false,
|
||||||
"weather": "WEATHER_SUNNY",
|
"weather": "WEATHER_SUNNY",
|
||||||
"map_type": "MAP_TYPE_6",
|
"map_type": "MAP_TYPE_OCEAN_ROUTE",
|
||||||
"allow_bike": true,
|
"allow_bike": true,
|
||||||
"allow_escape_rope": false,
|
"allow_escape_rope": false,
|
||||||
"allow_running": true,
|
"allow_running": true,
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"region_map_section": "MAPSEC_ROUTE_127",
|
"region_map_section": "MAPSEC_ROUTE_127",
|
||||||
"requires_flash": false,
|
"requires_flash": false,
|
||||||
"weather": "WEATHER_SUNNY",
|
"weather": "WEATHER_SUNNY",
|
||||||
"map_type": "MAP_TYPE_6",
|
"map_type": "MAP_TYPE_OCEAN_ROUTE",
|
||||||
"allow_bike": true,
|
"allow_bike": true,
|
||||||
"allow_escape_rope": false,
|
"allow_escape_rope": false,
|
||||||
"allow_running": true,
|
"allow_running": true,
|
||||||
|
|||||||
@@ -6,23 +6,23 @@ Route127_MapScripts:: @ 81F69D9
|
|||||||
|
|
||||||
Route127_MapScript1_1F69E9: @ 81F69E9
|
Route127_MapScript1_1F69E9: @ 81F69E9
|
||||||
call_if_set FLAG_SYS_WEATHER_CTRL, Common_EventScript_SetWeather15
|
call_if_set FLAG_SYS_WEATHER_CTRL, Common_EventScript_SetWeather15
|
||||||
compare VAR_0x4039, 1
|
compare VAR_SHOULD_END_UNUSUAL_WEATHER, 1
|
||||||
call_if_eq Route127_EventScript_273D13
|
call_if_eq Route127_EventScript_273D13
|
||||||
compare VAR_0x4037, 13
|
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_127_NORTH
|
||||||
call_if_eq Route127_EventScript_273D17
|
call_if_eq UnusualWeather_StartKyogreWeather
|
||||||
compare VAR_0x4037, 14
|
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_127_SOUTH
|
||||||
call_if_eq Route127_EventScript_273D17
|
call_if_eq UnusualWeather_StartKyogreWeather
|
||||||
end
|
end
|
||||||
|
|
||||||
Route127_MapScript1_1F6A14: @ 81F6A14
|
Route127_MapScript1_1F6A14: @ 81F6A14
|
||||||
compare VAR_0x4037, 13
|
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_127_NORTH
|
||||||
call_if_eq Route127_EventScript_273B5F
|
call_if_eq UnusualWeather_EventScript_PlaceTilesRoute127North
|
||||||
compare VAR_0x4037, 14
|
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_127_SOUTH
|
||||||
call_if_eq Route127_EventScript_273BCC
|
call_if_eq UnusualWeather_EventScript_PlaceTilesRoute127South
|
||||||
end
|
end
|
||||||
|
|
||||||
Route127_MapScript2_1F6A2B: @ 81F6A2B
|
Route127_MapScript2_1F6A2B: @ 81F6A2B
|
||||||
map_script_2 VAR_0x4039, 1, gUnknown_08273D1F
|
map_script_2 VAR_SHOULD_END_UNUSUAL_WEATHER, 1, UnusualWeather_EventScript_EndEventAndCleanup_1
|
||||||
.2byte 0
|
.2byte 0
|
||||||
|
|
||||||
Route127_EventScript_1F6A35:: @ 81F6A35
|
Route127_EventScript_1F6A35:: @ 81F6A35
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"region_map_section": "MAPSEC_ROUTE_128",
|
"region_map_section": "MAPSEC_ROUTE_128",
|
||||||
"requires_flash": false,
|
"requires_flash": false,
|
||||||
"weather": "WEATHER_SUNNY",
|
"weather": "WEATHER_SUNNY",
|
||||||
"map_type": "MAP_TYPE_6",
|
"map_type": "MAP_TYPE_OCEAN_ROUTE",
|
||||||
"allow_bike": true,
|
"allow_bike": true,
|
||||||
"allow_escape_rope": false,
|
"allow_escape_rope": false,
|
||||||
"allow_running": true,
|
"allow_running": true,
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"region_map_section": "MAPSEC_ROUTE_129",
|
"region_map_section": "MAPSEC_ROUTE_129",
|
||||||
"requires_flash": false,
|
"requires_flash": false,
|
||||||
"weather": "WEATHER_SUNNY",
|
"weather": "WEATHER_SUNNY",
|
||||||
"map_type": "MAP_TYPE_6",
|
"map_type": "MAP_TYPE_OCEAN_ROUTE",
|
||||||
"allow_bike": true,
|
"allow_bike": true,
|
||||||
"allow_escape_rope": false,
|
"allow_escape_rope": false,
|
||||||
"allow_running": true,
|
"allow_running": true,
|
||||||
|
|||||||
@@ -5,21 +5,21 @@ Route129_MapScripts:: @ 81F7284
|
|||||||
.byte 0
|
.byte 0
|
||||||
|
|
||||||
Route129_MapScript1_1F7294: @ 81F7294
|
Route129_MapScript1_1F7294: @ 81F7294
|
||||||
compare VAR_0x4037, 15
|
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_129_WEST
|
||||||
call_if_eq Route129_EventScript_273C39
|
call_if_eq UnusualWeather_EventScript_PlaceTilesRoute129West
|
||||||
compare VAR_0x4037, 16
|
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_129_EAST
|
||||||
call_if_eq Route129_EventScript_273CA6
|
call_if_eq UnusualWeather_EventScript_PlaceTilesRoute129East
|
||||||
end
|
end
|
||||||
|
|
||||||
Route129_MapScript1_1F72AB: @ 81F72AB
|
Route129_MapScript1_1F72AB: @ 81F72AB
|
||||||
compare VAR_0x4039, 1
|
compare VAR_SHOULD_END_UNUSUAL_WEATHER, 1
|
||||||
call_if_eq Route129_EventScript_273D13
|
call_if_eq Route129_EventScript_273D13
|
||||||
compare VAR_0x405E, 4
|
compare VAR_RAYQUAZA_STATE, 4
|
||||||
call_if_ge Route129_EventScript_1F72D8
|
call_if_ge Route129_EventScript_1F72D8
|
||||||
compare VAR_0x4037, 15
|
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_129_WEST
|
||||||
call_if_eq Route129_EventScript_273D17
|
call_if_eq UnusualWeather_StartKyogreWeather
|
||||||
compare VAR_0x4037, 16
|
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_129_EAST
|
||||||
call_if_eq Route129_EventScript_273D17
|
call_if_eq UnusualWeather_StartKyogreWeather
|
||||||
end
|
end
|
||||||
|
|
||||||
Route129_EventScript_1F72D8:: @ 81F72D8
|
Route129_EventScript_1F72D8:: @ 81F72D8
|
||||||
@@ -27,7 +27,7 @@ Route129_EventScript_1F72D8:: @ 81F72D8
|
|||||||
return
|
return
|
||||||
|
|
||||||
Route129_MapScript2_1F72E2: @ 81F72E2
|
Route129_MapScript2_1F72E2: @ 81F72E2
|
||||||
map_script_2 VAR_0x4039, 1, gUnknown_08273D1F
|
map_script_2 VAR_SHOULD_END_UNUSUAL_WEATHER, 1, UnusualWeather_EventScript_EndEventAndCleanup_1
|
||||||
.2byte 0
|
.2byte 0
|
||||||
|
|
||||||
Route129_EventScript_1F72EC:: @ 81F72EC
|
Route129_EventScript_1F72EC:: @ 81F72EC
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"region_map_section": "MAPSEC_ROUTE_130",
|
"region_map_section": "MAPSEC_ROUTE_130",
|
||||||
"requires_flash": false,
|
"requires_flash": false,
|
||||||
"weather": "WEATHER_SUNNY",
|
"weather": "WEATHER_SUNNY",
|
||||||
"map_type": "MAP_TYPE_6",
|
"map_type": "MAP_TYPE_OCEAN_ROUTE",
|
||||||
"allow_bike": true,
|
"allow_bike": true,
|
||||||
"allow_escape_rope": false,
|
"allow_escape_rope": false,
|
||||||
"allow_running": true,
|
"allow_running": true,
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ Route130_MapScripts:: @ 81F735F
|
|||||||
.byte 0
|
.byte 0
|
||||||
|
|
||||||
Route130_MapScript1_1F7365: @ 81F7365
|
Route130_MapScript1_1F7365: @ 81F7365
|
||||||
compare VAR_0x405E, 4
|
compare VAR_RAYQUAZA_STATE, 4
|
||||||
call_if_ge Route130_EventScript_1F73B5
|
call_if_ge Route130_EventScript_1F73B5
|
||||||
specialvar VAR_RESULT, IsMirageIslandPresent
|
specialvar VAR_RESULT, IsMirageIslandPresent
|
||||||
compare VAR_RESULT, 1
|
compare VAR_RESULT, 1
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"region_map_section": "MAPSEC_ROUTE_131",
|
"region_map_section": "MAPSEC_ROUTE_131",
|
||||||
"requires_flash": false,
|
"requires_flash": false,
|
||||||
"weather": "WEATHER_SUNNY",
|
"weather": "WEATHER_SUNNY",
|
||||||
"map_type": "MAP_TYPE_6",
|
"map_type": "MAP_TYPE_OCEAN_ROUTE",
|
||||||
"allow_bike": true,
|
"allow_bike": true,
|
||||||
"allow_escape_rope": false,
|
"allow_escape_rope": false,
|
||||||
"allow_running": true,
|
"allow_running": true,
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ Route131_MapScripts:: @ 81F7404
|
|||||||
.byte 0
|
.byte 0
|
||||||
|
|
||||||
Route131_MapScript1_1F740A: @ 81F740A
|
Route131_MapScript1_1F740A: @ 81F740A
|
||||||
compare VAR_0x405E, 4
|
compare VAR_RAYQUAZA_STATE, 4
|
||||||
call_if_ge Route131_EventScript_1F741F
|
call_if_ge Route131_EventScript_1F741F
|
||||||
call Route131_EventScript_1F741B
|
call Route131_EventScript_1F741B
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"region_map_section": "MAPSEC_ROUTE_132",
|
"region_map_section": "MAPSEC_ROUTE_132",
|
||||||
"requires_flash": false,
|
"requires_flash": false,
|
||||||
"weather": "WEATHER_SUNNY",
|
"weather": "WEATHER_SUNNY",
|
||||||
"map_type": "MAP_TYPE_6",
|
"map_type": "MAP_TYPE_OCEAN_ROUTE",
|
||||||
"allow_bike": true,
|
"allow_bike": true,
|
||||||
"allow_escape_rope": false,
|
"allow_escape_rope": false,
|
||||||
"allow_running": true,
|
"allow_running": true,
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"region_map_section": "MAPSEC_ROUTE_133",
|
"region_map_section": "MAPSEC_ROUTE_133",
|
||||||
"requires_flash": false,
|
"requires_flash": false,
|
||||||
"weather": "WEATHER_SUNNY",
|
"weather": "WEATHER_SUNNY",
|
||||||
"map_type": "MAP_TYPE_6",
|
"map_type": "MAP_TYPE_OCEAN_ROUTE",
|
||||||
"allow_bike": true,
|
"allow_bike": true,
|
||||||
"allow_escape_rope": false,
|
"allow_escape_rope": false,
|
||||||
"allow_running": true,
|
"allow_running": true,
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"region_map_section": "MAPSEC_ROUTE_134",
|
"region_map_section": "MAPSEC_ROUTE_134",
|
||||||
"requires_flash": false,
|
"requires_flash": false,
|
||||||
"weather": "WEATHER_SUNNY",
|
"weather": "WEATHER_SUNNY",
|
||||||
"map_type": "MAP_TYPE_6",
|
"map_type": "MAP_TYPE_OCEAN_ROUTE",
|
||||||
"allow_bike": true,
|
"allow_bike": true,
|
||||||
"allow_escape_rope": false,
|
"allow_escape_rope": false,
|
||||||
"allow_running": true,
|
"allow_running": true,
|
||||||
|
|||||||
@@ -170,7 +170,7 @@ RustboroCity_PokemonSchool_EventScript_214040:: @ 8214040
|
|||||||
goto_if_set FLAG_MET_SCOTT_RUSTBORO, RustboroCity_PokemonSchool_EventScript_21406F
|
goto_if_set FLAG_MET_SCOTT_RUSTBORO, RustboroCity_PokemonSchool_EventScript_21406F
|
||||||
goto_if_set FLAG_BADGE01_GET, RustboroCity_PokemonSchool_EventScript_214082
|
goto_if_set FLAG_BADGE01_GET, RustboroCity_PokemonSchool_EventScript_214082
|
||||||
msgbox RustboroCity_PokemonSchool_Text_2148C0, MSGBOX_DEFAULT
|
msgbox RustboroCity_PokemonSchool_Text_2148C0, MSGBOX_DEFAULT
|
||||||
addvar VAR_0x40D1, 1
|
addvar VAR_SCOTT_STATE, 1
|
||||||
setflag FLAG_MET_SCOTT_RUSTBORO
|
setflag FLAG_MET_SCOTT_RUSTBORO
|
||||||
release
|
release
|
||||||
end
|
end
|
||||||
@@ -192,7 +192,7 @@ RustboroCity_PokemonSchool_EventScript_214090:: @ 8214090
|
|||||||
end
|
end
|
||||||
|
|
||||||
RustboroCity_PokemonSchool_EventScript_21409E:: @ 821409E
|
RustboroCity_PokemonSchool_EventScript_21409E:: @ 821409E
|
||||||
addvar VAR_0x40D1, 1
|
addvar VAR_SCOTT_STATE, 1
|
||||||
setflag FLAG_MET_SCOTT_AFTER_OBTAINING_STONE_BADGE
|
setflag FLAG_MET_SCOTT_AFTER_OBTAINING_STONE_BADGE
|
||||||
release
|
release
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ SSTidalCorridor_MapScripts:: @ 823BFCF
|
|||||||
.byte 0
|
.byte 0
|
||||||
|
|
||||||
SSTidalCorridor_MapScript2_23BFD5: @ 823BFD5
|
SSTidalCorridor_MapScript2_23BFD5: @ 823BFD5
|
||||||
map_script_2 VAR_0x40D4, 0, SSTidalCorridor_EventScript_23C219
|
map_script_2 VAR_SS_TIDAL_SCOTT_STATE, 0, SSTidalCorridor_EventScript_23C219
|
||||||
map_script_2 VAR_PORTHOLE_STATE, 1, SSTidalCorridor_EventScript_23BFFF
|
map_script_2 VAR_PORTHOLE_STATE, 1, SSTidalCorridor_EventScript_23BFFF
|
||||||
map_script_2 VAR_PORTHOLE_STATE, 5, SSTidalCorridor_EventScript_23C015
|
map_script_2 VAR_PORTHOLE_STATE, 5, SSTidalCorridor_EventScript_23C015
|
||||||
map_script_2 VAR_PORTHOLE_STATE, 9, SSTidalCorridor_EventScript_23C067
|
map_script_2 VAR_PORTHOLE_STATE, 9, SSTidalCorridor_EventScript_23C067
|
||||||
@@ -216,7 +216,7 @@ SSTidalCorridor_EventScript_23C219:: @ 823C219
|
|||||||
waitmovement 0
|
waitmovement 0
|
||||||
delay 30
|
delay 30
|
||||||
setflag FLAG_MET_SCOTT_ON_SS_TIDAL
|
setflag FLAG_MET_SCOTT_ON_SS_TIDAL
|
||||||
setvar VAR_0x40D4, 1
|
setvar VAR_SS_TIDAL_SCOTT_STATE, 1
|
||||||
releaseall
|
releaseall
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ SeafloorCavern_Entrance_MapScript1_234474: @ 8234474
|
|||||||
|
|
||||||
SeafloorCavern_Entrance_EventScript_234485:: @ 8234485
|
SeafloorCavern_Entrance_EventScript_234485:: @ 8234485
|
||||||
lockall
|
lockall
|
||||||
compare VAR_0x40D9, 1
|
compare VAR_HAS_TALKED_TO_SEAFLOOR_CAVERN_ENTRANCE_GRUNT, 1
|
||||||
goto_if_eq SeafloorCavern_Entrance_EventScript_2344ED
|
goto_if_eq SeafloorCavern_Entrance_EventScript_2344ED
|
||||||
waitse
|
waitse
|
||||||
playse SE_PIN
|
playse SE_PIN
|
||||||
@@ -25,7 +25,7 @@ SeafloorCavern_Entrance_EventScript_234485:: @ 8234485
|
|||||||
compare VAR_FACING, 2
|
compare VAR_FACING, 2
|
||||||
call_if_eq SeafloorCavern_Entrance_EventScript_234539
|
call_if_eq SeafloorCavern_Entrance_EventScript_234539
|
||||||
delay 30
|
delay 30
|
||||||
setvar VAR_0x40D9, 1
|
setvar VAR_HAS_TALKED_TO_SEAFLOOR_CAVERN_ENTRANCE_GRUNT, 1
|
||||||
moveobjectoffscreen 1
|
moveobjectoffscreen 1
|
||||||
msgbox SeafloorCavern_Entrance_Text_234544, MSGBOX_DEFAULT
|
msgbox SeafloorCavern_Entrance_Text_234544, MSGBOX_DEFAULT
|
||||||
closemessage
|
closemessage
|
||||||
|
|||||||
@@ -119,7 +119,7 @@ SeafloorCavern_Room9_EventScript_234DC9:: @ 8234DC9
|
|||||||
waitmovement 0
|
waitmovement 0
|
||||||
msgbox SeafloorCavern_Room9_Text_235723, MSGBOX_DEFAULT
|
msgbox SeafloorCavern_Room9_Text_235723, MSGBOX_DEFAULT
|
||||||
setvar VAR_ROUTE128_STATE, 1
|
setvar VAR_ROUTE128_STATE, 1
|
||||||
setvar VAR_0x405E, 1
|
setvar VAR_RAYQUAZA_STATE, 1
|
||||||
clearflag FLAG_HIDE_SOOTOPOLIS_CITY_STEVEN
|
clearflag FLAG_HIDE_SOOTOPOLIS_CITY_STEVEN
|
||||||
clearflag FLAG_HIDE_SOOTOPOLIS_CITY_ARCHIE
|
clearflag FLAG_HIDE_SOOTOPOLIS_CITY_ARCHIE
|
||||||
clearflag FLAG_HIDE_SOOTOPOLIS_CITY_MAXIE
|
clearflag FLAG_HIDE_SOOTOPOLIS_CITY_MAXIE
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ SecretBase_YellowCave4_MapScripts:: @ 823B483
|
|||||||
.byte 0
|
.byte 0
|
||||||
|
|
||||||
SecretBase_RedCave1_MapScript2_23B498: @ 823B498
|
SecretBase_RedCave1_MapScript2_23B498: @ 823B498
|
||||||
map_script_2 VAR_0x4089, 0, EventScript_275D0C
|
map_script_2 VAR_SECRET_BASE_INITIALIZED, 0, EventScript_275D0C
|
||||||
.2byte 0
|
.2byte 0
|
||||||
|
|
||||||
SecretBase_RedCave1_MapScript1_23B4A2: @ 823B4A2
|
SecretBase_RedCave1_MapScript1_23B4A2: @ 823B4A2
|
||||||
@@ -16,7 +16,7 @@ SecretBase_RedCave1_MapScript1_23B4A2: @ 823B4A2
|
|||||||
end
|
end
|
||||||
|
|
||||||
SecretBase_RedCave1_MapScript2_23B4AE: @ 823B4AE
|
SecretBase_RedCave1_MapScript2_23B4AE: @ 823B4AE
|
||||||
map_script_2 VAR_0x4097, 0, SecretBase_RedCave1_EventScript_275B81
|
map_script_2 VAR_INIT_SECRET_BASE, 0, SecretBase_RedCave1_EventScript_275B81
|
||||||
.2byte 0
|
.2byte 0
|
||||||
|
|
||||||
SecretBase_RedCave1_MapScript1_23B4B8: @ 823B4B8
|
SecretBase_RedCave1_MapScript1_23B4B8: @ 823B4B8
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ SkyPillar_1F_MapScripts:: @ 8239615
|
|||||||
.byte 0
|
.byte 0
|
||||||
|
|
||||||
SkyPillar_1F_MapScript1_23961B: @ 823961B
|
SkyPillar_1F_MapScript1_23961B: @ 823961B
|
||||||
compare VAR_0x40CA, 2
|
compare VAR_SKY_PILLAR_STATE, 2
|
||||||
call_if_lt SkyPillar_1F_EventScript_239627
|
call_if_lt SkyPillar_1F_EventScript_239627
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ SkyPillar_2F_MapScripts:: @ 823962B
|
|||||||
.byte 0
|
.byte 0
|
||||||
|
|
||||||
SkyPillar_2F_MapScript1_23963B: @ 823963B
|
SkyPillar_2F_MapScript1_23963B: @ 823963B
|
||||||
compare VAR_0x40CA, 2
|
compare VAR_SKY_PILLAR_STATE, 2
|
||||||
call_if_lt SkyPillar_2F_EventScript_23964C
|
call_if_lt SkyPillar_2F_EventScript_23964C
|
||||||
copyvar VAR_ICE_STEP_COUNT, 0x1
|
copyvar VAR_ICE_STEP_COUNT, 0x1
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ SkyPillar_3F_MapScripts:: @ 823965B
|
|||||||
.byte 0
|
.byte 0
|
||||||
|
|
||||||
SkyPillar_3F_MapScript1_239661: @ 8239661
|
SkyPillar_3F_MapScript1_239661: @ 8239661
|
||||||
compare VAR_0x40CA, 2
|
compare VAR_SKY_PILLAR_STATE, 2
|
||||||
call_if_lt SkyPillar_3F_EventScript_23966D
|
call_if_lt SkyPillar_3F_EventScript_23966D
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ SkyPillar_4F_MapScripts:: @ 8239671
|
|||||||
.byte 0
|
.byte 0
|
||||||
|
|
||||||
SkyPillar_4F_MapScript1_239681: @ 8239681
|
SkyPillar_4F_MapScript1_239681: @ 8239681
|
||||||
compare VAR_0x40CA, 2
|
compare VAR_SKY_PILLAR_STATE, 2
|
||||||
call_if_lt SkyPillar_4F_EventScript_239692
|
call_if_lt SkyPillar_4F_EventScript_239692
|
||||||
copyvar VAR_ICE_STEP_COUNT, 0x1
|
copyvar VAR_ICE_STEP_COUNT, 0x1
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ SkyPillar_5F_MapScripts:: @ 82396A2
|
|||||||
.byte 0
|
.byte 0
|
||||||
|
|
||||||
SkyPillar_5F_MapScript1_2396A8: @ 82396A8
|
SkyPillar_5F_MapScript1_2396A8: @ 82396A8
|
||||||
compare VAR_0x40CA, 2
|
compare VAR_SKY_PILLAR_STATE, 2
|
||||||
call_if_lt SkyPillar_5F_EventScript_2396B4
|
call_if_lt SkyPillar_5F_EventScript_2396B4
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
@@ -5,9 +5,9 @@ SkyPillar_Outside_MapScripts:: @ 82392A8
|
|||||||
.byte 0
|
.byte 0
|
||||||
|
|
||||||
SkyPillar_Outside_MapScript1_2392B8: @ 82392B8
|
SkyPillar_Outside_MapScript1_2392B8: @ 82392B8
|
||||||
compare VAR_0x405E, 3
|
compare VAR_RAYQUAZA_STATE, 3
|
||||||
call_if_eq SkyPillar_Outside_EventScript_2392CF
|
call_if_eq SkyPillar_Outside_EventScript_2392CF
|
||||||
compare VAR_0x405E, 4
|
compare VAR_RAYQUAZA_STATE, 4
|
||||||
call_if_ge SkyPillar_Outside_EventScript_2392D3
|
call_if_ge SkyPillar_Outside_EventScript_2392D3
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -29,7 +29,7 @@ SkyPillar_Outside_EventScript_2392E7:: @ 82392E7
|
|||||||
return
|
return
|
||||||
|
|
||||||
SkyPillar_Outside_MapScript2_2392FA: @ 82392FA
|
SkyPillar_Outside_MapScript2_2392FA: @ 82392FA
|
||||||
map_script_2 VAR_0x405E, 3, SkyPillar_Outside_EventScript_239304
|
map_script_2 VAR_RAYQUAZA_STATE, 3, SkyPillar_Outside_EventScript_239304
|
||||||
.2byte 0
|
.2byte 0
|
||||||
|
|
||||||
SkyPillar_Outside_EventScript_239304:: @ 8239304
|
SkyPillar_Outside_EventScript_239304:: @ 8239304
|
||||||
@@ -82,7 +82,7 @@ SkyPillar_Outside_EventScript_239304:: @ 8239304
|
|||||||
playse SE_KAIDAN
|
playse SE_KAIDAN
|
||||||
fadescreenswapbuffers 1
|
fadescreenswapbuffers 1
|
||||||
clearflag FLAG_SPECIAL_FLAG_0x4000
|
clearflag FLAG_SPECIAL_FLAG_0x4000
|
||||||
setvar VAR_0x405E, 4
|
setvar VAR_RAYQUAZA_STATE, 4
|
||||||
removeobject 1
|
removeobject 1
|
||||||
clearflag FLAG_HIDE_SOOTOPOLIS_CITY_WALLACE
|
clearflag FLAG_HIDE_SOOTOPOLIS_CITY_WALLACE
|
||||||
fadescreenswapbuffers 0
|
fadescreenswapbuffers 0
|
||||||
|
|||||||
@@ -56,7 +56,7 @@
|
|||||||
"x": 14,
|
"x": 14,
|
||||||
"y": 9,
|
"y": 9,
|
||||||
"elevation": 3,
|
"elevation": 3,
|
||||||
"var": "VAR_0x40D7",
|
"var": "VAR_SKY_PILLAR_RAQUAZA_CRY_DONE",
|
||||||
"var_value": "0",
|
"var_value": "0",
|
||||||
"script": "SkyPillar_Top_EventScript_23979A"
|
"script": "SkyPillar_Top_EventScript_23979A"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,9 +16,9 @@ SkyPillar_Top_EventScript_2396D2:: @ 82396D2
|
|||||||
return
|
return
|
||||||
|
|
||||||
SkyPillar_Top_MapScript1_2396E6: @ 82396E6
|
SkyPillar_Top_MapScript1_2396E6: @ 82396E6
|
||||||
compare VAR_0x40CA, 2
|
compare VAR_SKY_PILLAR_STATE, 2
|
||||||
call_if_lt SkyPillar_Top_EventScript_2396FD
|
call_if_lt SkyPillar_Top_EventScript_2396FD
|
||||||
compare VAR_0x40CA, 2
|
compare VAR_SKY_PILLAR_STATE, 2
|
||||||
call_if_ge SkyPillar_Top_EventScript_239705
|
call_if_ge SkyPillar_Top_EventScript_239705
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -36,7 +36,7 @@ SkyPillar_Top_EventScript_23970F:: @ 823970F
|
|||||||
return
|
return
|
||||||
|
|
||||||
SkyPillar_Top_MapScript2_239713: @ 8239713
|
SkyPillar_Top_MapScript2_239713: @ 8239713
|
||||||
map_script_2 VAR_0x40CA, 0, SkyPillar_Top_EventScript_23971D
|
map_script_2 VAR_SKY_PILLAR_STATE, 0, SkyPillar_Top_EventScript_23971D
|
||||||
.2byte 0
|
.2byte 0
|
||||||
|
|
||||||
SkyPillar_Top_EventScript_23971D:: @ 823971D
|
SkyPillar_Top_EventScript_23971D:: @ 823971D
|
||||||
@@ -130,9 +130,9 @@ SkyPillar_Top_EventScript_23979A:: @ 823979A
|
|||||||
applymovement EVENT_OBJ_ID_CAMERA, SkyPillar_Top_Movement_23985C
|
applymovement EVENT_OBJ_ID_CAMERA, SkyPillar_Top_Movement_23985C
|
||||||
waitmovement 0
|
waitmovement 0
|
||||||
special RemoveCameraObject
|
special RemoveCameraObject
|
||||||
setvar VAR_0x405E, 5
|
setvar VAR_RAYQUAZA_STATE, 5
|
||||||
setvar VAR_0x40CA, 1
|
setvar VAR_SKY_PILLAR_STATE, 1
|
||||||
setvar VAR_0x40D7, 1
|
setvar VAR_SKY_PILLAR_RAQUAZA_CRY_DONE, 1
|
||||||
releaseall
|
releaseall
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -571,7 +571,7 @@
|
|||||||
"x": 10,
|
"x": 10,
|
||||||
"y": 13,
|
"y": 13,
|
||||||
"elevation": 3,
|
"elevation": 3,
|
||||||
"var": "VAR_0x40D2",
|
"var": "VAR_SLATEPORT_OUTSIDE_MUSEUM_STATE",
|
||||||
"var_value": "2",
|
"var_value": "2",
|
||||||
"script": "SlateportCity_EventScript_1DD5DC"
|
"script": "SlateportCity_EventScript_1DD5DC"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ SlateportCity_MapScript1_1DCC6C: @ 81DCC6C
|
|||||||
call SlateportCity_EventScript_1DCC8D
|
call SlateportCity_EventScript_1DCC8D
|
||||||
compare VAR_SLATEPORT_STATE, 1
|
compare VAR_SLATEPORT_STATE, 1
|
||||||
call_if_eq SlateportCity_EventScript_1DCC99
|
call_if_eq SlateportCity_EventScript_1DCC99
|
||||||
compare VAR_0x40D2, 1
|
compare VAR_SLATEPORT_OUTSIDE_MUSEUM_STATE, 1
|
||||||
call_if_eq SlateportCity_EventScript_1DCCE7
|
call_if_eq SlateportCity_EventScript_1DCCE7
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -50,7 +50,7 @@ SlateportCity_EventScript_1DCD06:: @ 81DCD06
|
|||||||
return
|
return
|
||||||
|
|
||||||
SlateportCity_MapScript2_1DCD12: @ 81DCD12
|
SlateportCity_MapScript2_1DCD12: @ 81DCD12
|
||||||
map_script_2 VAR_0x40D2, 1, SlateportCity_EventScript_1DCD1C
|
map_script_2 VAR_SLATEPORT_OUTSIDE_MUSEUM_STATE, 1, SlateportCity_EventScript_1DCD1C
|
||||||
.2byte 0
|
.2byte 0
|
||||||
|
|
||||||
SlateportCity_EventScript_1DCD1C:: @ 81DCD1C
|
SlateportCity_EventScript_1DCD1C:: @ 81DCD1C
|
||||||
@@ -84,8 +84,8 @@ SlateportCity_EventScript_1DCD1C:: @ 81DCD1C
|
|||||||
setobjectxyperm 35, 10, 12
|
setobjectxyperm 35, 10, 12
|
||||||
setobjectmovementtype 35, MOVEMENT_TYPE_FACE_DOWN
|
setobjectmovementtype 35, MOVEMENT_TYPE_FACE_DOWN
|
||||||
clearflag FLAG_SPECIAL_FLAG_0x4000
|
clearflag FLAG_SPECIAL_FLAG_0x4000
|
||||||
setvar VAR_0x40D2, 2
|
setvar VAR_SLATEPORT_OUTSIDE_MUSEUM_STATE, 2
|
||||||
addvar VAR_0x40D1, 1
|
addvar VAR_SCOTT_STATE, 1
|
||||||
releaseall
|
releaseall
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -901,8 +901,8 @@ SlateportCity_EventScript_1DD5DC:: @ 81DD5DC
|
|||||||
applymovement 35, SlateportCity_Movement_1DD63A
|
applymovement 35, SlateportCity_Movement_1DD63A
|
||||||
waitmovement 0
|
waitmovement 0
|
||||||
removeobject 35
|
removeobject 35
|
||||||
addvar VAR_0x40D1, 1
|
addvar VAR_SCOTT_STATE, 1
|
||||||
setvar VAR_0x40D2, 3
|
setvar VAR_SLATEPORT_OUTSIDE_MUSEUM_STATE, 3
|
||||||
releaseall
|
releaseall
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -86,7 +86,7 @@ SlateportCity_OceanicMuseum_2F_EventScript_20BB00:: @ 820BB00
|
|||||||
setflag FLAG_DELIVERED_DEVON_GOODS
|
setflag FLAG_DELIVERED_DEVON_GOODS
|
||||||
clearflag FLAG_HIDE_ROUTE_116_DEVON_EMPLOYEE
|
clearflag FLAG_HIDE_ROUTE_116_DEVON_EMPLOYEE
|
||||||
setflag FLAG_HIDE_RUSTBORO_CITY_DEVON_CORP_3F_EMPLOYEE
|
setflag FLAG_HIDE_RUSTBORO_CITY_DEVON_CORP_3F_EMPLOYEE
|
||||||
setvar VAR_0x40D2, 1
|
setvar VAR_SLATEPORT_OUTSIDE_MUSEUM_STATE, 1
|
||||||
fadescreen 0
|
fadescreen 0
|
||||||
release
|
release
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -33,31 +33,31 @@ SootopolisCity_EventScript_1E56E5:: @ 81E56E5
|
|||||||
|
|
||||||
SootopolisCity_MapScript1_1E56EF: @ 81E56EF
|
SootopolisCity_MapScript1_1E56EF: @ 81E56EF
|
||||||
setflag FLAG_VISITED_SOOTOPOLIS_CITY
|
setflag FLAG_VISITED_SOOTOPOLIS_CITY
|
||||||
compare VAR_0x405E, 1
|
compare VAR_RAYQUAZA_STATE, 1
|
||||||
call_if_eq SootopolisCity_EventScript_1E5781
|
call_if_eq SootopolisCity_EventScript_1E5781
|
||||||
compare VAR_0x40CA, 1
|
compare VAR_SKY_PILLAR_STATE, 1
|
||||||
call_if_eq SootopolisCity_EventScript_1E5781
|
call_if_eq SootopolisCity_EventScript_1E5781
|
||||||
call SootopolisCity_EventScript_1E5805
|
call SootopolisCity_EventScript_1E5805
|
||||||
call SootopolisCity_EventScript_1E57B2
|
call SootopolisCity_EventScript_1E57B2
|
||||||
compare VAR_0x405E, 1
|
compare VAR_RAYQUAZA_STATE, 1
|
||||||
call_if_eq SootopolisCity_EventScript_1E5785
|
call_if_eq SootopolisCity_EventScript_1E5785
|
||||||
compare VAR_0x405E, 2
|
compare VAR_RAYQUAZA_STATE, 2
|
||||||
call_if_eq SootopolisCity_EventScript_1E5785
|
call_if_eq SootopolisCity_EventScript_1E5785
|
||||||
compare VAR_0x405E, 3
|
compare VAR_RAYQUAZA_STATE, 3
|
||||||
call_if_eq SootopolisCity_EventScript_1E5785
|
call_if_eq SootopolisCity_EventScript_1E5785
|
||||||
compare VAR_0x405E, 4
|
compare VAR_RAYQUAZA_STATE, 4
|
||||||
call_if_eq SootopolisCity_EventScript_1E5785
|
call_if_eq SootopolisCity_EventScript_1E5785
|
||||||
compare VAR_0x405E, 5
|
compare VAR_RAYQUAZA_STATE, 5
|
||||||
call_if_eq SootopolisCity_EventScript_1E5785
|
call_if_eq SootopolisCity_EventScript_1E5785
|
||||||
compare VAR_0x405E, 2
|
compare VAR_RAYQUAZA_STATE, 2
|
||||||
call_if_eq SootopolisCity_EventScript_1E5842
|
call_if_eq SootopolisCity_EventScript_1E5842
|
||||||
compare VAR_0x405E, 3
|
compare VAR_RAYQUAZA_STATE, 3
|
||||||
call_if_eq SootopolisCity_EventScript_1E5842
|
call_if_eq SootopolisCity_EventScript_1E5842
|
||||||
compare VAR_0x405E, 4
|
compare VAR_RAYQUAZA_STATE, 4
|
||||||
call_if_eq SootopolisCity_EventScript_1E585B
|
call_if_eq SootopolisCity_EventScript_1E585B
|
||||||
compare VAR_0x405E, 5
|
compare VAR_RAYQUAZA_STATE, 5
|
||||||
call_if_eq SootopolisCity_EventScript_1E5871
|
call_if_eq SootopolisCity_EventScript_1E5871
|
||||||
compare VAR_0x405E, 6
|
compare VAR_RAYQUAZA_STATE, 6
|
||||||
call_if_eq SootopolisCity_EventScript_1E58D3
|
call_if_eq SootopolisCity_EventScript_1E58D3
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -77,19 +77,19 @@ SootopolisCity_EventScript_1E5785:: @ 81E5785
|
|||||||
return
|
return
|
||||||
|
|
||||||
SootopolisCity_EventScript_1E57B2:: @ 81E57B2
|
SootopolisCity_EventScript_1E57B2:: @ 81E57B2
|
||||||
compare VAR_0x405E, 0
|
compare VAR_RAYQUAZA_STATE, 0
|
||||||
goto_if_eq SootopolisCity_EventScript_1E5800
|
goto_if_eq SootopolisCity_EventScript_1E5800
|
||||||
compare VAR_0x405E, 6
|
compare VAR_RAYQUAZA_STATE, 6
|
||||||
goto_if_ge SootopolisCity_EventScript_1E5800
|
goto_if_ge SootopolisCity_EventScript_1E5800
|
||||||
compare VAR_0x405E, 1
|
compare VAR_RAYQUAZA_STATE, 1
|
||||||
goto_if_eq SootopolisCity_EventScript_1E5801
|
goto_if_eq SootopolisCity_EventScript_1E5801
|
||||||
compare VAR_0x405E, 2
|
compare VAR_RAYQUAZA_STATE, 2
|
||||||
goto_if_eq SootopolisCity_EventScript_1E5801
|
goto_if_eq SootopolisCity_EventScript_1E5801
|
||||||
compare VAR_0x405E, 3
|
compare VAR_RAYQUAZA_STATE, 3
|
||||||
goto_if_eq SootopolisCity_EventScript_1E5801
|
goto_if_eq SootopolisCity_EventScript_1E5801
|
||||||
compare VAR_0x405E, 4
|
compare VAR_RAYQUAZA_STATE, 4
|
||||||
goto_if_eq SootopolisCity_EventScript_1E5801
|
goto_if_eq SootopolisCity_EventScript_1E5801
|
||||||
compare VAR_0x40CA, 1
|
compare VAR_SKY_PILLAR_STATE, 1
|
||||||
goto_if_le SootopolisCity_EventScript_1E5801
|
goto_if_le SootopolisCity_EventScript_1E5801
|
||||||
return
|
return
|
||||||
|
|
||||||
@@ -101,15 +101,15 @@ SootopolisCity_EventScript_1E5801:: @ 81E5801
|
|||||||
return
|
return
|
||||||
|
|
||||||
SootopolisCity_EventScript_1E5805:: @ 81E5805
|
SootopolisCity_EventScript_1E5805:: @ 81E5805
|
||||||
compare VAR_0x405E, 0
|
compare VAR_RAYQUAZA_STATE, 0
|
||||||
goto_if_eq SootopolisCity_EventScript_1E583D
|
goto_if_eq SootopolisCity_EventScript_1E583D
|
||||||
compare VAR_0x405E, 6
|
compare VAR_RAYQUAZA_STATE, 6
|
||||||
goto_if_ge SootopolisCity_EventScript_1E583D
|
goto_if_ge SootopolisCity_EventScript_1E583D
|
||||||
compare VAR_0x405E, 1
|
compare VAR_RAYQUAZA_STATE, 1
|
||||||
goto_if_eq SootopolisCity_EventScript_1E583E
|
goto_if_eq SootopolisCity_EventScript_1E583E
|
||||||
compare VAR_0x40CA, 1
|
compare VAR_SKY_PILLAR_STATE, 1
|
||||||
goto_if_eq SootopolisCity_EventScript_1E583E
|
goto_if_eq SootopolisCity_EventScript_1E583E
|
||||||
compare VAR_0x40CA, 1
|
compare VAR_SKY_PILLAR_STATE, 1
|
||||||
goto_if_le Common_EventScript_SetWeather15
|
goto_if_le Common_EventScript_SetWeather15
|
||||||
return
|
return
|
||||||
|
|
||||||
@@ -140,11 +140,11 @@ SootopolisCity_EventScript_1E5871:: @ 81E5871
|
|||||||
setobjectxyperm 7, 29, 33
|
setobjectxyperm 7, 29, 33
|
||||||
setobjectxyperm 16, 33, 35
|
setobjectxyperm 16, 33, 35
|
||||||
setobjectxyperm 17, 34, 35
|
setobjectxyperm 17, 34, 35
|
||||||
compare VAR_0x40D8, 0
|
compare VAR_SOOTOPOLIS_STATE, 0
|
||||||
call_if_eq SootopolisCity_EventScript_1E58AF
|
call_if_eq SootopolisCity_EventScript_1E58AF
|
||||||
compare VAR_0x40D8, 1
|
compare VAR_SOOTOPOLIS_STATE, 1
|
||||||
call_if_eq SootopolisCity_EventScript_1E58BB
|
call_if_eq SootopolisCity_EventScript_1E58BB
|
||||||
compare VAR_0x40D8, 2
|
compare VAR_SOOTOPOLIS_STATE, 2
|
||||||
call_if_eq SootopolisCity_EventScript_1E58C7
|
call_if_eq SootopolisCity_EventScript_1E58C7
|
||||||
return
|
return
|
||||||
|
|
||||||
@@ -168,13 +168,13 @@ SootopolisCity_EventScript_1E58D3:: @ 81E58D3
|
|||||||
return
|
return
|
||||||
|
|
||||||
SootopolisCity_MapScript2_1E58DB: @ 81E58DB
|
SootopolisCity_MapScript2_1E58DB: @ 81E58DB
|
||||||
map_script_2 VAR_0x405E, 5, SootopolisCity_EventScript_1E58E5
|
map_script_2 VAR_RAYQUAZA_STATE, 5, SootopolisCity_EventScript_1E58E5
|
||||||
.2byte 0
|
.2byte 0
|
||||||
|
|
||||||
SootopolisCity_EventScript_1E58E5:: @ 81E58E5
|
SootopolisCity_EventScript_1E58E5:: @ 81E58E5
|
||||||
compare VAR_0x40CA, 1
|
compare VAR_SKY_PILLAR_STATE, 1
|
||||||
call_if_eq SootopolisCity_EventScript_1E58FC
|
call_if_eq SootopolisCity_EventScript_1E58FC
|
||||||
compare VAR_0x40CA, 2
|
compare VAR_SKY_PILLAR_STATE, 2
|
||||||
call_if_eq SootopolisCity_EventScript_1E5901
|
call_if_eq SootopolisCity_EventScript_1E5901
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -184,7 +184,7 @@ SootopolisCity_EventScript_1E58FC:: @ 81E58FC
|
|||||||
|
|
||||||
SootopolisCity_EventScript_1E5901:: @ 81E5901
|
SootopolisCity_EventScript_1E5901:: @ 81E5901
|
||||||
turnobject EVENT_OBJ_ID_PLAYER, 2
|
turnobject EVENT_OBJ_ID_PLAYER, 2
|
||||||
setvar VAR_0x40CA, 3
|
setvar VAR_SKY_PILLAR_STATE, 3
|
||||||
return
|
return
|
||||||
|
|
||||||
SootopolisCity_MapScript1_1E590B: @ 81E590B
|
SootopolisCity_MapScript1_1E590B: @ 81E590B
|
||||||
@@ -192,8 +192,8 @@ SootopolisCity_MapScript1_1E590B: @ 81E590B
|
|||||||
end
|
end
|
||||||
|
|
||||||
SootopolisCity_MapScript2_1E5914: @ 81E5914
|
SootopolisCity_MapScript2_1E5914: @ 81E5914
|
||||||
map_script_2 VAR_0x405E, 1, SootopolisCity_EventScript_1E5926
|
map_script_2 VAR_RAYQUAZA_STATE, 1, SootopolisCity_EventScript_1E5926
|
||||||
map_script_2 VAR_0x40CA, 1, SootopolisCity_EventScript_1E5BFE
|
map_script_2 VAR_SKY_PILLAR_STATE, 1, SootopolisCity_EventScript_1E5BFE
|
||||||
.2byte 0
|
.2byte 0
|
||||||
|
|
||||||
SootopolisCity_EventScript_1E5926:: @ 81E5926
|
SootopolisCity_EventScript_1E5926:: @ 81E5926
|
||||||
@@ -271,7 +271,7 @@ SootopolisCity_EventScript_1E5946:: @ 81E5946
|
|||||||
applymovement EVENT_OBJ_ID_CAMERA, SootopolisCity_Movement_1E5A75
|
applymovement EVENT_OBJ_ID_CAMERA, SootopolisCity_Movement_1E5A75
|
||||||
waitmovement 0
|
waitmovement 0
|
||||||
special RemoveCameraObject
|
special RemoveCameraObject
|
||||||
setvar VAR_0x405E, 2
|
setvar VAR_RAYQUAZA_STATE, 2
|
||||||
clearflag FLAG_SPECIAL_FLAG_0x4000
|
clearflag FLAG_SPECIAL_FLAG_0x4000
|
||||||
releaseall
|
releaseall
|
||||||
end
|
end
|
||||||
@@ -371,7 +371,7 @@ SootopolisCity_EventScript_1E5A82:: @ 81E5A82
|
|||||||
applymovement EVENT_OBJ_ID_CAMERA, SootopolisCity_Movement_1E5BAE
|
applymovement EVENT_OBJ_ID_CAMERA, SootopolisCity_Movement_1E5BAE
|
||||||
waitmovement 0
|
waitmovement 0
|
||||||
special RemoveCameraObject
|
special RemoveCameraObject
|
||||||
setvar VAR_0x405E, 2
|
setvar VAR_RAYQUAZA_STATE, 2
|
||||||
clearflag FLAG_SPECIAL_FLAG_0x4000
|
clearflag FLAG_SPECIAL_FLAG_0x4000
|
||||||
releaseall
|
releaseall
|
||||||
end
|
end
|
||||||
@@ -540,7 +540,7 @@ SootopolisCity_EventScript_1E5C1E:: @ 81E5C1E
|
|||||||
special WaitWeather
|
special WaitWeather
|
||||||
waitstate
|
waitstate
|
||||||
clearflag FLAG_SYS_WEATHER_CTRL
|
clearflag FLAG_SYS_WEATHER_CTRL
|
||||||
setvar VAR_0x40CA, 3
|
setvar VAR_SKY_PILLAR_STATE, 3
|
||||||
clearflag FLAG_LEGENDARIES_IN_SOOTOPOLIS
|
clearflag FLAG_LEGENDARIES_IN_SOOTOPOLIS
|
||||||
fadenewbgm MUS_RUNECITY
|
fadenewbgm MUS_RUNECITY
|
||||||
delay 120
|
delay 120
|
||||||
@@ -593,7 +593,7 @@ SootopolisCity_EventScript_1E5CCE:: @ 81E5CCE
|
|||||||
special WaitWeather
|
special WaitWeather
|
||||||
waitstate
|
waitstate
|
||||||
clearflag FLAG_SYS_WEATHER_CTRL
|
clearflag FLAG_SYS_WEATHER_CTRL
|
||||||
setvar VAR_0x40CA, 2
|
setvar VAR_SKY_PILLAR_STATE, 2
|
||||||
clearflag FLAG_LEGENDARIES_IN_SOOTOPOLIS
|
clearflag FLAG_LEGENDARIES_IN_SOOTOPOLIS
|
||||||
fadenewbgm MUS_NAMINORI
|
fadenewbgm MUS_NAMINORI
|
||||||
delay 120
|
delay 120
|
||||||
@@ -694,11 +694,11 @@ SootopolisCity_Movement_1E5E7F: @ 81E5E7F
|
|||||||
SootopolisCity_EventScript_1E5E8D:: @ 81E5E8D
|
SootopolisCity_EventScript_1E5E8D:: @ 81E5E8D
|
||||||
lock
|
lock
|
||||||
faceplayer
|
faceplayer
|
||||||
compare VAR_0x405E, 6
|
compare VAR_RAYQUAZA_STATE, 6
|
||||||
goto_if_ge SootopolisCity_EventScript_1E5EC4
|
goto_if_ge SootopolisCity_EventScript_1E5EC4
|
||||||
compare VAR_0x405E, 5
|
compare VAR_RAYQUAZA_STATE, 5
|
||||||
goto_if_eq SootopolisCity_EventScript_1E5ECE
|
goto_if_eq SootopolisCity_EventScript_1E5ECE
|
||||||
compare VAR_0x405E, 2
|
compare VAR_RAYQUAZA_STATE, 2
|
||||||
goto_if_ge SootopolisCity_EventScript_1E5EBA
|
goto_if_ge SootopolisCity_EventScript_1E5EBA
|
||||||
msgbox SootopolisCity_Text_1E6D77, MSGBOX_DEFAULT
|
msgbox SootopolisCity_Text_1E6D77, MSGBOX_DEFAULT
|
||||||
release
|
release
|
||||||
@@ -722,11 +722,11 @@ SootopolisCity_EventScript_1E5ECE:: @ 81E5ECE
|
|||||||
SootopolisCity_EventScript_1E5ED8:: @ 81E5ED8
|
SootopolisCity_EventScript_1E5ED8:: @ 81E5ED8
|
||||||
lock
|
lock
|
||||||
faceplayer
|
faceplayer
|
||||||
compare VAR_0x405E, 1
|
compare VAR_RAYQUAZA_STATE, 1
|
||||||
goto_if_le SootopolisCity_EventScript_1E5F1B
|
goto_if_le SootopolisCity_EventScript_1E5F1B
|
||||||
compare VAR_0x405E, 6
|
compare VAR_RAYQUAZA_STATE, 6
|
||||||
goto_if_ge SootopolisCity_EventScript_1E5F1B
|
goto_if_ge SootopolisCity_EventScript_1E5F1B
|
||||||
compare VAR_0x405E, 5
|
compare VAR_RAYQUAZA_STATE, 5
|
||||||
goto_if_eq SootopolisCity_EventScript_1E5F10
|
goto_if_eq SootopolisCity_EventScript_1E5F10
|
||||||
msgbox SootopolisCity_Text_1E6BFF, MSGBOX_DEFAULT
|
msgbox SootopolisCity_Text_1E6BFF, MSGBOX_DEFAULT
|
||||||
closemessage
|
closemessage
|
||||||
@@ -794,7 +794,7 @@ SootopolisCity_EventScript_1E5FE2:: @ 81E5FE2
|
|||||||
lockall
|
lockall
|
||||||
applymovement 2, Common_Movement_FacePlayer
|
applymovement 2, Common_Movement_FacePlayer
|
||||||
waitmovement 0
|
waitmovement 0
|
||||||
compare VAR_0x405E, 5
|
compare VAR_RAYQUAZA_STATE, 5
|
||||||
goto_if_eq SootopolisCity_EventScript_1E600D
|
goto_if_eq SootopolisCity_EventScript_1E600D
|
||||||
msgbox SootopolisCity_Text_1E71A1, MSGBOX_DEFAULT
|
msgbox SootopolisCity_Text_1E71A1, MSGBOX_DEFAULT
|
||||||
closemessage
|
closemessage
|
||||||
@@ -811,7 +811,7 @@ SootopolisCity_EventScript_1E600D:: @ 81E600D
|
|||||||
SootopolisCity_EventScript_1E6017:: @ 81E6017
|
SootopolisCity_EventScript_1E6017:: @ 81E6017
|
||||||
lock
|
lock
|
||||||
faceplayer
|
faceplayer
|
||||||
compare VAR_0x405E, 6
|
compare VAR_RAYQUAZA_STATE, 6
|
||||||
goto_if_ge SootopolisCity_EventScript_1E602E
|
goto_if_ge SootopolisCity_EventScript_1E602E
|
||||||
msgbox SootopolisCity_Text_1E6CCA, MSGBOX_DEFAULT
|
msgbox SootopolisCity_Text_1E6CCA, MSGBOX_DEFAULT
|
||||||
release
|
release
|
||||||
@@ -825,11 +825,11 @@ SootopolisCity_EventScript_1E602E:: @ 81E602E
|
|||||||
SootopolisCity_EventScript_1E6038:: @ 81E6038
|
SootopolisCity_EventScript_1E6038:: @ 81E6038
|
||||||
lock
|
lock
|
||||||
faceplayer
|
faceplayer
|
||||||
compare VAR_0x405E, 6
|
compare VAR_RAYQUAZA_STATE, 6
|
||||||
goto_if_ge SootopolisCity_EventScript_1E607A
|
goto_if_ge SootopolisCity_EventScript_1E607A
|
||||||
compare VAR_0x405E, 5
|
compare VAR_RAYQUAZA_STATE, 5
|
||||||
goto_if_eq SootopolisCity_EventScript_1E6084
|
goto_if_eq SootopolisCity_EventScript_1E6084
|
||||||
compare VAR_0x405E, 2
|
compare VAR_RAYQUAZA_STATE, 2
|
||||||
goto_if_ge SootopolisCity_EventScript_1E6065
|
goto_if_ge SootopolisCity_EventScript_1E6065
|
||||||
msgbox SootopolisCity_Text_1E6F90, MSGBOX_DEFAULT
|
msgbox SootopolisCity_Text_1E6F90, MSGBOX_DEFAULT
|
||||||
release
|
release
|
||||||
@@ -857,11 +857,11 @@ SootopolisCity_EventScript_1E608E:: @ 81E608E
|
|||||||
lockall
|
lockall
|
||||||
applymovement 4, Common_Movement_FacePlayer
|
applymovement 4, Common_Movement_FacePlayer
|
||||||
waitmovement 0
|
waitmovement 0
|
||||||
compare VAR_0x405E, 5
|
compare VAR_RAYQUAZA_STATE, 5
|
||||||
goto_if_eq SootopolisCity_EventScript_1E60D9
|
goto_if_eq SootopolisCity_EventScript_1E60D9
|
||||||
compare VAR_0x405E, 6
|
compare VAR_RAYQUAZA_STATE, 6
|
||||||
goto_if_ge SootopolisCity_EventScript_1E60CF
|
goto_if_ge SootopolisCity_EventScript_1E60CF
|
||||||
compare VAR_0x405E, 1
|
compare VAR_RAYQUAZA_STATE, 1
|
||||||
goto_if_le SootopolisCity_EventScript_1E60CF
|
goto_if_le SootopolisCity_EventScript_1E60CF
|
||||||
msgbox SootopolisCity_Text_1E690B, MSGBOX_DEFAULT
|
msgbox SootopolisCity_Text_1E690B, MSGBOX_DEFAULT
|
||||||
closemessage
|
closemessage
|
||||||
@@ -884,12 +884,12 @@ SootopolisCity_EventScript_1E60E3:: @ 81E60E3
|
|||||||
lockall
|
lockall
|
||||||
applymovement 5, Common_Movement_FacePlayer
|
applymovement 5, Common_Movement_FacePlayer
|
||||||
waitmovement 0
|
waitmovement 0
|
||||||
compare VAR_0x405E, 5
|
compare VAR_RAYQUAZA_STATE, 5
|
||||||
goto_if_eq SootopolisCity_EventScript_1E612D
|
goto_if_eq SootopolisCity_EventScript_1E612D
|
||||||
goto_if_set FLAG_SYS_GAME_CLEAR, SootopolisCity_EventScript_1E6137
|
goto_if_set FLAG_SYS_GAME_CLEAR, SootopolisCity_EventScript_1E6137
|
||||||
compare VAR_0x405E, 6
|
compare VAR_RAYQUAZA_STATE, 6
|
||||||
goto_if_ge SootopolisCity_EventScript_1E6141
|
goto_if_ge SootopolisCity_EventScript_1E6141
|
||||||
compare VAR_0x405E, 1
|
compare VAR_RAYQUAZA_STATE, 1
|
||||||
goto_if_le SootopolisCity_EventScript_1E6141
|
goto_if_le SootopolisCity_EventScript_1E6141
|
||||||
msgbox SootopolisCity_Text_1E6692, MSGBOX_DEFAULT
|
msgbox SootopolisCity_Text_1E6692, MSGBOX_DEFAULT
|
||||||
closemessage
|
closemessage
|
||||||
@@ -930,11 +930,11 @@ SootopolisCity_EventScript_1E6166:: @ 81E6166
|
|||||||
applymovement 7, Common_Movement_FacePlayer
|
applymovement 7, Common_Movement_FacePlayer
|
||||||
waitmovement 0
|
waitmovement 0
|
||||||
call_if_unset FLAG_STEVEN_GUIDES_TO_CAVE_OF_ORIGIN, SootopolisCity_EventScript_1E61CC
|
call_if_unset FLAG_STEVEN_GUIDES_TO_CAVE_OF_ORIGIN, SootopolisCity_EventScript_1E61CC
|
||||||
compare VAR_0x405E, 2
|
compare VAR_RAYQUAZA_STATE, 2
|
||||||
goto_if_eq SootopolisCity_EventScript_1E61AE
|
goto_if_eq SootopolisCity_EventScript_1E61AE
|
||||||
compare VAR_0x405E, 3
|
compare VAR_RAYQUAZA_STATE, 3
|
||||||
goto_if_eq SootopolisCity_EventScript_1E61C2
|
goto_if_eq SootopolisCity_EventScript_1E61C2
|
||||||
compare VAR_0x405E, 4
|
compare VAR_RAYQUAZA_STATE, 4
|
||||||
goto_if_eq SootopolisCity_EventScript_1E61C2
|
goto_if_eq SootopolisCity_EventScript_1E61C2
|
||||||
goto_if_set FLAG_SOOTOPOLIS_ARCHIE_MAXIE_LEAVE, SootopolisCity_EventScript_1E61B8
|
goto_if_set FLAG_SOOTOPOLIS_ARCHIE_MAXIE_LEAVE, SootopolisCity_EventScript_1E61B8
|
||||||
msgbox SootopolisCity_Text_1E78E5, MSGBOX_DEFAULT
|
msgbox SootopolisCity_Text_1E78E5, MSGBOX_DEFAULT
|
||||||
@@ -1263,7 +1263,7 @@ SootopolisCity_EventScript_1E635D:: @ 81E635D
|
|||||||
lockall
|
lockall
|
||||||
applymovement 15, Common_Movement_FacePlayer
|
applymovement 15, Common_Movement_FacePlayer
|
||||||
waitmovement 0
|
waitmovement 0
|
||||||
compare VAR_0x405E, 5
|
compare VAR_RAYQUAZA_STATE, 5
|
||||||
goto_if_eq SootopolisCity_EventScript_1E6388
|
goto_if_eq SootopolisCity_EventScript_1E6388
|
||||||
msgbox SootopolisCity_Text_1E67DC, MSGBOX_DEFAULT
|
msgbox SootopolisCity_Text_1E67DC, MSGBOX_DEFAULT
|
||||||
closemessage
|
closemessage
|
||||||
@@ -1280,7 +1280,7 @@ SootopolisCity_EventScript_1E6388:: @ 81E6388
|
|||||||
|
|
||||||
SootopolisCity_EventScript_1E6393:: @ 81E6393
|
SootopolisCity_EventScript_1E6393:: @ 81E6393
|
||||||
lockall
|
lockall
|
||||||
compare VAR_0x405E, 5
|
compare VAR_RAYQUAZA_STATE, 5
|
||||||
goto_if_eq SootopolisCity_EventScript_1E63C7
|
goto_if_eq SootopolisCity_EventScript_1E63C7
|
||||||
msgbox SootopolisCity_Text_1E6936, MSGBOX_DEFAULT
|
msgbox SootopolisCity_Text_1E6936, MSGBOX_DEFAULT
|
||||||
closemessage
|
closemessage
|
||||||
@@ -1304,7 +1304,7 @@ SootopolisCity_EventScript_1E63DB:: @ 81E63DB
|
|||||||
lockall
|
lockall
|
||||||
applymovement 13, Common_Movement_FacePlayer
|
applymovement 13, Common_Movement_FacePlayer
|
||||||
waitmovement 0
|
waitmovement 0
|
||||||
compare VAR_0x405E, 5
|
compare VAR_RAYQUAZA_STATE, 5
|
||||||
goto_if_eq SootopolisCity_EventScript_1E6406
|
goto_if_eq SootopolisCity_EventScript_1E6406
|
||||||
msgbox SootopolisCity_Text_1E6C7C, MSGBOX_DEFAULT
|
msgbox SootopolisCity_Text_1E6C7C, MSGBOX_DEFAULT
|
||||||
closemessage
|
closemessage
|
||||||
@@ -1323,7 +1323,7 @@ SootopolisCity_EventScript_1E6411:: @ 81E6411
|
|||||||
lockall
|
lockall
|
||||||
applymovement 12, Common_Movement_FacePlayer
|
applymovement 12, Common_Movement_FacePlayer
|
||||||
waitmovement 0
|
waitmovement 0
|
||||||
compare VAR_0x405E, 5
|
compare VAR_RAYQUAZA_STATE, 5
|
||||||
goto_if_eq SootopolisCity_EventScript_1E643C
|
goto_if_eq SootopolisCity_EventScript_1E643C
|
||||||
msgbox SootopolisCity_Text_1E6A50, MSGBOX_DEFAULT
|
msgbox SootopolisCity_Text_1E6A50, MSGBOX_DEFAULT
|
||||||
closemessage
|
closemessage
|
||||||
@@ -1340,7 +1340,7 @@ SootopolisCity_EventScript_1E643C:: @ 81E643C
|
|||||||
SootopolisCity_EventScript_1E6446:: @ 81E6446
|
SootopolisCity_EventScript_1E6446:: @ 81E6446
|
||||||
lock
|
lock
|
||||||
faceplayer
|
faceplayer
|
||||||
compare VAR_0x405E, 4
|
compare VAR_RAYQUAZA_STATE, 4
|
||||||
goto_if_eq SootopolisCity_EventScript_1E64D8
|
goto_if_eq SootopolisCity_EventScript_1E64D8
|
||||||
goto_if_set FLAG_RECEIVED_HM07, SootopolisCity_EventScript_1E64E2
|
goto_if_set FLAG_RECEIVED_HM07, SootopolisCity_EventScript_1E64E2
|
||||||
goto_if_set FLAG_SOOTOPOLIS_ARCHIE_MAXIE_LEAVE, SootopolisCity_EventScript_1E646F
|
goto_if_set FLAG_SOOTOPOLIS_ARCHIE_MAXIE_LEAVE, SootopolisCity_EventScript_1E646F
|
||||||
@@ -1367,14 +1367,14 @@ SootopolisCity_EventScript_1E64B2:: @ 81E64B2
|
|||||||
applymovement 18, SootopolisCity_Movement_1E64EC
|
applymovement 18, SootopolisCity_Movement_1E64EC
|
||||||
waitmovement 0
|
waitmovement 0
|
||||||
moveobjectoffscreen 18
|
moveobjectoffscreen 18
|
||||||
setvar VAR_0x40D8, 1
|
setvar VAR_SOOTOPOLIS_STATE, 1
|
||||||
return
|
return
|
||||||
|
|
||||||
SootopolisCity_EventScript_1E64C5:: @ 81E64C5
|
SootopolisCity_EventScript_1E64C5:: @ 81E64C5
|
||||||
applymovement 18, SootopolisCity_Movement_1E64EF
|
applymovement 18, SootopolisCity_Movement_1E64EF
|
||||||
waitmovement 0
|
waitmovement 0
|
||||||
moveobjectoffscreen 18
|
moveobjectoffscreen 18
|
||||||
setvar VAR_0x40D8, 2
|
setvar VAR_SOOTOPOLIS_STATE, 2
|
||||||
return
|
return
|
||||||
|
|
||||||
SootopolisCity_EventScript_1E64D8:: @ 81E64D8
|
SootopolisCity_EventScript_1E64D8:: @ 81E64D8
|
||||||
@@ -1399,7 +1399,7 @@ SootopolisCity_Movement_1E64EF: @ 81E64EF
|
|||||||
|
|
||||||
SootopolisCity_EventScript_1E64F2:: @ 81E64F2
|
SootopolisCity_EventScript_1E64F2:: @ 81E64F2
|
||||||
lockall
|
lockall
|
||||||
compare VAR_0x405E, 5
|
compare VAR_RAYQUAZA_STATE, 5
|
||||||
goto_if_eq SootopolisCity_EventScript_1E6509
|
goto_if_eq SootopolisCity_EventScript_1E6509
|
||||||
msgbox SootopolisCity_Text_1E72DB, MSGBOX_DEFAULT
|
msgbox SootopolisCity_Text_1E72DB, MSGBOX_DEFAULT
|
||||||
closemessage
|
closemessage
|
||||||
@@ -1415,7 +1415,7 @@ SootopolisCity_EventScript_1E6509:: @ 81E6509
|
|||||||
|
|
||||||
SootopolisCity_EventScript_1E651F:: @ 81E651F
|
SootopolisCity_EventScript_1E651F:: @ 81E651F
|
||||||
lockall
|
lockall
|
||||||
compare VAR_0x405E, 5
|
compare VAR_RAYQUAZA_STATE, 5
|
||||||
goto_if_eq SootopolisCity_EventScript_1E6536
|
goto_if_eq SootopolisCity_EventScript_1E6536
|
||||||
msgbox SootopolisCity_Text_1E7460, MSGBOX_DEFAULT
|
msgbox SootopolisCity_Text_1E7460, MSGBOX_DEFAULT
|
||||||
closemessage
|
closemessage
|
||||||
|
|||||||
@@ -106,7 +106,7 @@ SootopolisCity_Gym_1F_EventScript_224F82:: @ 8224F82
|
|||||||
setflag FLAG_HIDE_SOOTOPOLIS_CITY_RESIDENTS
|
setflag FLAG_HIDE_SOOTOPOLIS_CITY_RESIDENTS
|
||||||
setflag FLAG_HIDE_SOOTOPOLIS_CITY_STEVEN
|
setflag FLAG_HIDE_SOOTOPOLIS_CITY_STEVEN
|
||||||
setflag FLAG_HIDE_SOOTOPOLIS_CITY_WALLACE
|
setflag FLAG_HIDE_SOOTOPOLIS_CITY_WALLACE
|
||||||
setvar VAR_0x405E, 6
|
setvar VAR_RAYQUAZA_STATE, 6
|
||||||
clearflag FLAG_HIDE_SOOTOPOLIS_CITY_MAN_1
|
clearflag FLAG_HIDE_SOOTOPOLIS_CITY_MAN_1
|
||||||
setvar VAR_0x8008, 8
|
setvar VAR_0x8008, 8
|
||||||
call SootopolisCity_Gym_1F_EventScript_271F43
|
call SootopolisCity_Gym_1F_EventScript_271F43
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ SootopolisCity_Mart_Pokemart_2267AC: @ 82267AC
|
|||||||
SootopolisCity_Mart_EventScript_2267C2:: @ 82267C2
|
SootopolisCity_Mart_EventScript_2267C2:: @ 82267C2
|
||||||
lock
|
lock
|
||||||
faceplayer
|
faceplayer
|
||||||
compare VAR_0x40CA, 2
|
compare VAR_SKY_PILLAR_STATE, 2
|
||||||
goto_if_ge SootopolisCity_Mart_EventScript_2267E2
|
goto_if_ge SootopolisCity_Mart_EventScript_2267E2
|
||||||
goto_if_unset FLAG_KYOGRE_ESCAPED_SEAFLOOR_CAVERN, SootopolisCity_Mart_EventScript_2267E2
|
goto_if_unset FLAG_KYOGRE_ESCAPED_SEAFLOOR_CAVERN, SootopolisCity_Mart_EventScript_2267E2
|
||||||
msgbox SootopolisCity_Mart_Text_22685D, MSGBOX_DEFAULT
|
msgbox SootopolisCity_Mart_Text_22685D, MSGBOX_DEFAULT
|
||||||
@@ -43,7 +43,7 @@ SootopolisCity_Mart_EventScript_2267E2:: @ 82267E2
|
|||||||
SootopolisCity_Mart_EventScript_2267EC:: @ 82267EC
|
SootopolisCity_Mart_EventScript_2267EC:: @ 82267EC
|
||||||
lock
|
lock
|
||||||
faceplayer
|
faceplayer
|
||||||
compare VAR_0x40CA, 2
|
compare VAR_SKY_PILLAR_STATE, 2
|
||||||
goto_if_ge SootopolisCity_Mart_EventScript_22680C
|
goto_if_ge SootopolisCity_Mart_EventScript_22680C
|
||||||
goto_if_unset FLAG_KYOGRE_ESCAPED_SEAFLOOR_CAVERN, SootopolisCity_Mart_EventScript_22680C
|
goto_if_unset FLAG_KYOGRE_ESCAPED_SEAFLOOR_CAVERN, SootopolisCity_Mart_EventScript_22680C
|
||||||
msgbox SootopolisCity_Mart_Text_226928, MSGBOX_DEFAULT
|
msgbox SootopolisCity_Mart_Text_226928, MSGBOX_DEFAULT
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ SootopolisCity_PokemonCenter_1F_EventScript_226500:: @ 8226500
|
|||||||
SootopolisCity_PokemonCenter_1F_EventScript_22650E:: @ 822650E
|
SootopolisCity_PokemonCenter_1F_EventScript_22650E:: @ 822650E
|
||||||
lock
|
lock
|
||||||
faceplayer
|
faceplayer
|
||||||
compare VAR_0x40CA, 2
|
compare VAR_SKY_PILLAR_STATE, 2
|
||||||
goto_if_ge SootopolisCity_PokemonCenter_1F_EventScript_22652E
|
goto_if_ge SootopolisCity_PokemonCenter_1F_EventScript_22652E
|
||||||
goto_if_unset FLAG_KYOGRE_ESCAPED_SEAFLOOR_CAVERN, SootopolisCity_PokemonCenter_1F_EventScript_22652E
|
goto_if_unset FLAG_KYOGRE_ESCAPED_SEAFLOOR_CAVERN, SootopolisCity_PokemonCenter_1F_EventScript_22652E
|
||||||
msgbox SootopolisCity_PokemonCenter_1F_Text_22664B, MSGBOX_DEFAULT
|
msgbox SootopolisCity_PokemonCenter_1F_Text_22664B, MSGBOX_DEFAULT
|
||||||
@@ -33,7 +33,7 @@ SootopolisCity_PokemonCenter_1F_EventScript_22652E:: @ 822652E
|
|||||||
SootopolisCity_PokemonCenter_1F_EventScript_226538:: @ 8226538
|
SootopolisCity_PokemonCenter_1F_EventScript_226538:: @ 8226538
|
||||||
lock
|
lock
|
||||||
faceplayer
|
faceplayer
|
||||||
compare VAR_0x40CA, 2
|
compare VAR_SKY_PILLAR_STATE, 2
|
||||||
goto_if_ge SootopolisCity_PokemonCenter_1F_EventScript_226558
|
goto_if_ge SootopolisCity_PokemonCenter_1F_EventScript_226558
|
||||||
goto_if_unset FLAG_KYOGRE_ESCAPED_SEAFLOOR_CAVERN, SootopolisCity_PokemonCenter_1F_EventScript_226558
|
goto_if_unset FLAG_KYOGRE_ESCAPED_SEAFLOOR_CAVERN, SootopolisCity_PokemonCenter_1F_EventScript_226558
|
||||||
msgbox SootopolisCity_PokemonCenter_1F_Text_22672F, MSGBOX_DEFAULT
|
msgbox SootopolisCity_PokemonCenter_1F_Text_22672F, MSGBOX_DEFAULT
|
||||||
|
|||||||
@@ -15,9 +15,9 @@ SouthernIsland_Interior_EventScript_242A5A:: @ 8242A5A
|
|||||||
return
|
return
|
||||||
|
|
||||||
SouthernIsland_Interior_MapScript1_242A6E: @ 8242A6E
|
SouthernIsland_Interior_MapScript1_242A6E: @ 8242A6E
|
||||||
compare VAR_0x40D5, 0
|
compare VAR_ROAMER_POKEMON, 0
|
||||||
call_if_eq SouthernIsland_Interior_EventScript_242A8A
|
call_if_eq SouthernIsland_Interior_EventScript_242A8A
|
||||||
compare VAR_0x40D5, 0
|
compare VAR_ROAMER_POKEMON, 0
|
||||||
call_if_ne SouthernIsland_Interior_EventScript_242A95
|
call_if_ne SouthernIsland_Interior_EventScript_242A95
|
||||||
call SouthernIsland_Interior_EventScript_242AA0
|
call SouthernIsland_Interior_EventScript_242AA0
|
||||||
end
|
end
|
||||||
@@ -77,9 +77,9 @@ SouthernIsland_Interior_EventScript_242AD0:: @ 8242AD0
|
|||||||
delay 50
|
delay 50
|
||||||
special RemoveCameraObject
|
special RemoveCameraObject
|
||||||
setvar VAR_LAST_TALKED, 2
|
setvar VAR_LAST_TALKED, 2
|
||||||
compare VAR_0x40D5, 0
|
compare VAR_ROAMER_POKEMON, 0
|
||||||
call_if_eq SouthernIsland_Interior_EventScript_242BA4
|
call_if_eq SouthernIsland_Interior_EventScript_242BA4
|
||||||
compare VAR_0x40D5, 0
|
compare VAR_ROAMER_POKEMON, 0
|
||||||
call_if_ne SouthernIsland_Interior_EventScript_242BB7
|
call_if_ne SouthernIsland_Interior_EventScript_242BB7
|
||||||
setflag FLAG_SYS_CTRL_OBJ_DELETE
|
setflag FLAG_SYS_CTRL_OBJ_DELETE
|
||||||
special BattleSetup_StartLatiBattle
|
special BattleSetup_StartLatiBattle
|
||||||
|
|||||||
@@ -47,13 +47,13 @@ TerraCave_End_EventScript_23B0EC:: @ 823B0EC
|
|||||||
goto_if_eq TerraCave_End_EventScript_23B163
|
goto_if_eq TerraCave_End_EventScript_23B163
|
||||||
compare VAR_RESULT, 5
|
compare VAR_RESULT, 5
|
||||||
goto_if_eq TerraCave_End_EventScript_23B163
|
goto_if_eq TerraCave_End_EventScript_23B163
|
||||||
setvar VAR_0x4039, 1
|
setvar VAR_SHOULD_END_UNUSUAL_WEATHER, 1
|
||||||
setflag FLAG_DEFEATED_GROUDON
|
setflag FLAG_DEFEATED_GROUDON
|
||||||
releaseall
|
releaseall
|
||||||
end
|
end
|
||||||
|
|
||||||
TerraCave_End_EventScript_23B155:: @ 823B155
|
TerraCave_End_EventScript_23B155:: @ 823B155
|
||||||
setvar VAR_0x4039, 1
|
setvar VAR_SHOULD_END_UNUSUAL_WEATHER, 1
|
||||||
setflag FLAG_DEFEATED_GROUDON
|
setflag FLAG_DEFEATED_GROUDON
|
||||||
goto TerraCave_End_EventScript_27376D
|
goto TerraCave_End_EventScript_27376D
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -109,7 +109,7 @@
|
|||||||
"x": 9,
|
"x": 9,
|
||||||
"y": 6,
|
"y": 6,
|
||||||
"elevation": 3,
|
"elevation": 3,
|
||||||
"var": "VAR_0x40D6",
|
"var": "VAR_TRAINER_HILL_IS_ACTIVE",
|
||||||
"var_value": "0",
|
"var_value": "0",
|
||||||
"script": "TrainerHill_Entrance_EventScript_268229"
|
"script": "TrainerHill_Entrance_EventScript_268229"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,10 +15,10 @@ TrainerHill_Entrance_MapScript1_2680CF: @ 82680CF
|
|||||||
end
|
end
|
||||||
|
|
||||||
TrainerHill_Entrance_MapScript1_2680D0: @ 82680D0
|
TrainerHill_Entrance_MapScript1_2680D0: @ 82680D0
|
||||||
setvar VAR_0x8004, 4
|
setvar VAR_0x8004, TRAINER_HILL_FUNC_RESUME_TIMER
|
||||||
special CallTrainerHillFunction
|
special CallTrainerHillFunction
|
||||||
setvar VAR_TEMP_0, 0
|
setvar VAR_TEMP_0, 0
|
||||||
setvar VAR_0x8004, 9
|
setvar VAR_0x8004, TRAINER_HILL_FUNC_9
|
||||||
special CallTrainerHillFunction
|
special CallTrainerHillFunction
|
||||||
compare VAR_RESULT, 0
|
compare VAR_RESULT, 0
|
||||||
goto_if_eq TrainerHill_Entrance_EventScript_2680FF
|
goto_if_eq TrainerHill_Entrance_EventScript_2680FF
|
||||||
@@ -27,7 +27,7 @@ TrainerHill_Entrance_MapScript1_2680D0: @ 82680D0
|
|||||||
end
|
end
|
||||||
|
|
||||||
TrainerHill_Entrance_EventScript_2680FF:: @ 82680FF
|
TrainerHill_Entrance_EventScript_2680FF:: @ 82680FF
|
||||||
setvar VAR_0x8004, 16
|
setvar VAR_0x8004, TRAINER_HILL_FUNC_16
|
||||||
special CallTrainerHillFunction
|
special CallTrainerHillFunction
|
||||||
compare VAR_RESULT, 1
|
compare VAR_RESULT, 1
|
||||||
goto_if_eq TrainerHill_Entrance_EventScript_26811A
|
goto_if_eq TrainerHill_Entrance_EventScript_26811A
|
||||||
@@ -74,12 +74,12 @@ TrainerHill_Entrance_EventScript_268160:: @ 8268160
|
|||||||
|
|
||||||
TrainerHill_Entrance_EventScript_268182:: @ 8268182
|
TrainerHill_Entrance_EventScript_268182:: @ 8268182
|
||||||
setvar VAR_TEMP_0, 1
|
setvar VAR_TEMP_0, 1
|
||||||
setvar VAR_0x8004, 6
|
setvar VAR_0x8004, TRAINER_HILL_FUNC_GET_CHALLENGE_STATUS
|
||||||
special CallTrainerHillFunction
|
special CallTrainerHillFunction
|
||||||
switch VAR_RESULT
|
switch VAR_RESULT
|
||||||
case 0, TrainerHill_Entrance_EventScript_2681B5
|
case TRAINER_HILL_PLAYER_STATUS_LOST, TrainerHill_Entrance_EventScript_2681B5
|
||||||
case 1, TrainerHill_Entrance_EventScript_2681CA
|
case TRAINER_HILL_PLAYER_STATUS_ECARD_SCANNED, TrainerHill_Entrance_EventScript_2681CA
|
||||||
case 2, TrainerHill_Entrance_EventScript_2681EE
|
case TRAINER_HILL_PLAYER_STATUS_NORMAL, TrainerHill_Entrance_EventScript_2681EE
|
||||||
|
|
||||||
TrainerHill_Entrance_EventScript_2681B5:: @ 82681B5
|
TrainerHill_Entrance_EventScript_2681B5:: @ 82681B5
|
||||||
lockall
|
lockall
|
||||||
@@ -96,7 +96,7 @@ TrainerHill_Entrance_EventScript_2681DA:: @ 82681DA
|
|||||||
closemessage
|
closemessage
|
||||||
applymovement EVENT_OBJ_ID_PLAYER, TrainerHill_Entrance_Movement_268381
|
applymovement EVENT_OBJ_ID_PLAYER, TrainerHill_Entrance_Movement_268381
|
||||||
waitmovement 0
|
waitmovement 0
|
||||||
setvar VAR_0x40D6, 0
|
setvar VAR_TRAINER_HILL_IS_ACTIVE, 0
|
||||||
special HealPlayerParty
|
special HealPlayerParty
|
||||||
releaseall
|
releaseall
|
||||||
|
|
||||||
@@ -114,7 +114,7 @@ TrainerHill_Entrance_EventScript_2681EF:: @ 82681EF
|
|||||||
TrainerHill_Entrance_EventScript_2681FD:: @ 82681FD
|
TrainerHill_Entrance_EventScript_2681FD:: @ 82681FD
|
||||||
lock
|
lock
|
||||||
faceplayer
|
faceplayer
|
||||||
setvar VAR_0x8004, 10
|
setvar VAR_0x8004, TRAINER_HILL_FUNC_10
|
||||||
special CallTrainerHillFunction
|
special CallTrainerHillFunction
|
||||||
compare VAR_RESULT, 0
|
compare VAR_RESULT, 0
|
||||||
goto_if_eq TrainerHill_Entrance_EventScript_26821F
|
goto_if_eq TrainerHill_Entrance_EventScript_26821F
|
||||||
@@ -133,11 +133,11 @@ TrainerHill_Entrance_EventScript_268229:: @ 8268229
|
|||||||
applymovement EVENT_OBJ_ID_PLAYER, TrainerHill_Entrance_Movement_26837F
|
applymovement EVENT_OBJ_ID_PLAYER, TrainerHill_Entrance_Movement_26837F
|
||||||
goto_if_unset FLAG_SYS_GAME_CLEAR, TrainerHill_Entrance_EventScript_26836A
|
goto_if_unset FLAG_SYS_GAME_CLEAR, TrainerHill_Entrance_EventScript_26836A
|
||||||
msgbox TrainerHill_Entrance_Text_2684C6, MSGBOX_DEFAULT
|
msgbox TrainerHill_Entrance_Text_2684C6, MSGBOX_DEFAULT
|
||||||
setvar VAR_0x8004, 13
|
setvar VAR_0x8004, TRAINER_HILL_FUNC_13
|
||||||
special CallTrainerHillFunction
|
special CallTrainerHillFunction
|
||||||
compare VAR_RESULT, 0
|
compare VAR_RESULT, 0
|
||||||
call_if_eq TrainerHill_Entrance_EventScript_26832E
|
call_if_eq TrainerHill_Entrance_EventScript_26832E
|
||||||
setvar VAR_0x8004, 8
|
setvar VAR_0x8004, TRAINER_HILL_FUNC_8
|
||||||
special CallTrainerHillFunction
|
special CallTrainerHillFunction
|
||||||
compare VAR_RESULT, 1
|
compare VAR_RESULT, 1
|
||||||
goto_if_eq TrainerHill_Entrance_EventScript_268275
|
goto_if_eq TrainerHill_Entrance_EventScript_268275
|
||||||
@@ -168,14 +168,14 @@ TrainerHill_Entrance_EventScript_2682C8:: @ 82682C8
|
|||||||
switch VAR_RESULT
|
switch VAR_RESULT
|
||||||
case 4, TrainerHill_Entrance_EventScript_268314
|
case 4, TrainerHill_Entrance_EventScript_268314
|
||||||
case 127, TrainerHill_Entrance_EventScript_268314
|
case 127, TrainerHill_Entrance_EventScript_268314
|
||||||
setvar VAR_0x8004, 17
|
setvar VAR_0x8004, TRAINER_HILL_FUNC_SET_TAG
|
||||||
copyvar VAR_0x8005, VAR_RESULT
|
copyvar VAR_0x8005, VAR_RESULT
|
||||||
special CallTrainerHillFunction
|
special CallTrainerHillFunction
|
||||||
setvar VAR_0x40D6, 1
|
setvar VAR_TRAINER_HILL_IS_ACTIVE, 1
|
||||||
setvar VAR_TEMP_5, 0
|
setvar VAR_TEMP_5, 0
|
||||||
special HealPlayerParty
|
special HealPlayerParty
|
||||||
msgbox TrainerHill_Entrance_Text_26862A, MSGBOX_DEFAULT
|
msgbox TrainerHill_Entrance_Text_26862A, MSGBOX_DEFAULT
|
||||||
setvar VAR_0x8004, 0
|
setvar VAR_0x8004, TRAINER_HILL_FUNC_START
|
||||||
special CallTrainerHillFunction
|
special CallTrainerHillFunction
|
||||||
releaseall
|
releaseall
|
||||||
end
|
end
|
||||||
@@ -191,18 +191,18 @@ TrainerHill_Entrance_EventScript_268314:: @ 8268314
|
|||||||
|
|
||||||
TrainerHill_Entrance_EventScript_26832E:: @ 826832E
|
TrainerHill_Entrance_EventScript_26832E:: @ 826832E
|
||||||
msgbox TrainerHill_Entrance_Text_26851C, MSGBOX_DEFAULT
|
msgbox TrainerHill_Entrance_Text_26851C, MSGBOX_DEFAULT
|
||||||
setvar VAR_0x8004, 14
|
setvar VAR_0x8004, TRAINER_HILL_FUNC_14
|
||||||
special CallTrainerHillFunction
|
special CallTrainerHillFunction
|
||||||
setvar VAR_TEMP_5, 1
|
setvar VAR_TEMP_5, 1
|
||||||
call Common_EventScript_SaveGame
|
call Common_EventScript_SaveGame
|
||||||
compare VAR_RESULT, 0
|
compare VAR_RESULT, 0
|
||||||
goto_if_eq TrainerHill_Entrance_EventScript_26835C
|
goto_if_eq TrainerHill_Entrance_EventScript_26835C
|
||||||
setvar VAR_0x8004, 14
|
setvar VAR_0x8004, TRAINER_HILL_FUNC_14
|
||||||
special CallTrainerHillFunction
|
special CallTrainerHillFunction
|
||||||
return
|
return
|
||||||
|
|
||||||
TrainerHill_Entrance_EventScript_26835C:: @ 826835C
|
TrainerHill_Entrance_EventScript_26835C:: @ 826835C
|
||||||
setvar VAR_0x8004, 15
|
setvar VAR_0x8004, TRAINER_HILL_FUNC_15
|
||||||
special CallTrainerHillFunction
|
special CallTrainerHillFunction
|
||||||
goto TrainerHill_Entrance_EventScript_268314
|
goto TrainerHill_Entrance_EventScript_268314
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -4,11 +4,11 @@ TrainerHill_Roof_MapScripts:: @ 8268FA7
|
|||||||
.byte 0
|
.byte 0
|
||||||
|
|
||||||
TrainerHill_Roof_EventScript_268FB2:: @ 8268FB2
|
TrainerHill_Roof_EventScript_268FB2:: @ 8268FB2
|
||||||
setvar VAR_0x8004, 12
|
setvar VAR_0x8004, TRAINER_HILL_FUNC_12
|
||||||
special CallTrainerHillFunction
|
special CallTrainerHillFunction
|
||||||
lock
|
lock
|
||||||
faceplayer
|
faceplayer
|
||||||
setvar VAR_0x8004, 1
|
setvar VAR_0x8004, TRAINER_HILL_FUNC_1
|
||||||
special CallTrainerHillFunction
|
special CallTrainerHillFunction
|
||||||
switch VAR_RESULT
|
switch VAR_RESULT
|
||||||
case 0, TrainerHill_Roof_EventScript_268FEA
|
case 0, TrainerHill_Roof_EventScript_268FEA
|
||||||
@@ -19,7 +19,7 @@ TrainerHill_Roof_EventScript_268FEA:: @ 8268FEA
|
|||||||
msgbox TrainerHill_Roof_Text_268986, MSGBOX_DEFAULT
|
msgbox TrainerHill_Roof_Text_268986, MSGBOX_DEFAULT
|
||||||
|
|
||||||
TrainerHill_Roof_EventScript_268FF2:: @ 8268FF2
|
TrainerHill_Roof_EventScript_268FF2:: @ 8268FF2
|
||||||
setvar VAR_0x8004, 2
|
setvar VAR_0x8004, TRAINER_HILL_FUNC_2
|
||||||
special CallTrainerHillFunction
|
special CallTrainerHillFunction
|
||||||
switch VAR_RESULT
|
switch VAR_RESULT
|
||||||
case 0, TrainerHill_Roof_EventScript_269020
|
case 0, TrainerHill_Roof_EventScript_269020
|
||||||
@@ -41,7 +41,7 @@ TrainerHill_Roof_EventScript_269037:: @ 8269037
|
|||||||
goto TrainerHill_Roof_EventScript_269054
|
goto TrainerHill_Roof_EventScript_269054
|
||||||
|
|
||||||
TrainerHill_Roof_EventScript_269054:: @ 8269054
|
TrainerHill_Roof_EventScript_269054:: @ 8269054
|
||||||
setvar VAR_0x8004, 3
|
setvar VAR_0x8004, TRAINER_HILL_FUNC_3
|
||||||
special CallTrainerHillFunction
|
special CallTrainerHillFunction
|
||||||
switch VAR_RESULT
|
switch VAR_RESULT
|
||||||
case 0, TrainerHill_Roof_EventScript_269082
|
case 0, TrainerHill_Roof_EventScript_269082
|
||||||
|
|||||||
@@ -3,6 +3,6 @@ Underwater3_MapScripts:: @ 81F7724
|
|||||||
.byte 0
|
.byte 0
|
||||||
|
|
||||||
Underwater3_MapScript1_1F772A: @ 81F772A
|
Underwater3_MapScript1_1F772A: @ 81F772A
|
||||||
call Underwater3_EventScript_274223
|
call UnusualWeather_Underwater_SetupEscapeWarp
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,6 @@ Underwater5_MapScripts:: @ 81F7731
|
|||||||
.byte 0
|
.byte 0
|
||||||
|
|
||||||
Underwater5_MapScript1_1F7737: @ 81F7737
|
Underwater5_MapScript1_1F7737: @ 81F7737
|
||||||
call Underwater5_EventScript_274223
|
call UnusualWeather_Underwater_SetupEscapeWarp
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,6 @@ Underwater6_MapScripts:: @ 81F773D
|
|||||||
.byte 0
|
.byte 0
|
||||||
|
|
||||||
Underwater6_MapScript1_1F7743: @ 81F7743
|
Underwater6_MapScript1_1F7743: @ 81F7743
|
||||||
call Underwater6_EventScript_274223
|
call UnusualWeather_Underwater_SetupEscapeWarp
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,6 @@ Underwater7_MapScripts:: @ 81F7749
|
|||||||
.byte 0
|
.byte 0
|
||||||
|
|
||||||
Underwater7_MapScript1_1F774F: @ 81F774F
|
Underwater7_MapScript1_1F774F: @ 81F774F
|
||||||
call Underwater7_EventScript_274223
|
call UnusualWeather_Underwater_SetupEscapeWarp
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -307,7 +307,7 @@ VerdanturfTown_BattleTentLobby_EventScript_201AD0:: @ 8201AD0
|
|||||||
faceplayer
|
faceplayer
|
||||||
goto_if_set FLAG_MET_SCOTT_IN_VERDANTURF, VerdanturfTown_BattleTentLobby_EventScript_201AED
|
goto_if_set FLAG_MET_SCOTT_IN_VERDANTURF, VerdanturfTown_BattleTentLobby_EventScript_201AED
|
||||||
msgbox VerdanturfTown_BattleTentLobby_Text_201F3F, MSGBOX_DEFAULT
|
msgbox VerdanturfTown_BattleTentLobby_Text_201F3F, MSGBOX_DEFAULT
|
||||||
addvar VAR_0x40D1, 1
|
addvar VAR_SCOTT_STATE, 1
|
||||||
setflag FLAG_MET_SCOTT_IN_VERDANTURF
|
setflag FLAG_MET_SCOTT_IN_VERDANTURF
|
||||||
release
|
release
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ OldaleTown_PokemonCenter_2F_EventScript_276B23:: @ 8276B23
|
|||||||
msgbox gUnknown_08273594, MSGBOX_DEFAULT
|
msgbox gUnknown_08273594, MSGBOX_DEFAULT
|
||||||
giveitem_std ITEM_EON_TICKET
|
giveitem_std ITEM_EON_TICKET
|
||||||
setflag FLAG_SYS_HAS_EON_TICKET
|
setflag FLAG_SYS_HAS_EON_TICKET
|
||||||
setvar VAR_0x403F, 0
|
setvar VAR_ALWAYS_ZERO_0x403F, 0
|
||||||
msgbox gUnknown_082735F2, MSGBOX_DEFAULT
|
msgbox gUnknown_082735F2, MSGBOX_DEFAULT
|
||||||
release
|
release
|
||||||
end
|
end
|
||||||
@@ -197,7 +197,7 @@ RustboroCity_PokemonCenter_2F_MapScript2_276C3B: @ 8276C3B
|
|||||||
SlateportCity_PokemonCenter_2F_MapScript2_276C3B: @ 8276C3B
|
SlateportCity_PokemonCenter_2F_MapScript2_276C3B: @ 8276C3B
|
||||||
SootopolisCity_PokemonCenter_2F_MapScript2_276C3B: @ 8276C3B
|
SootopolisCity_PokemonCenter_2F_MapScript2_276C3B: @ 8276C3B
|
||||||
VerdanturfTown_PokemonCenter_2F_MapScript2_276C3B: @ 8276C3B
|
VerdanturfTown_PokemonCenter_2F_MapScript2_276C3B: @ 8276C3B
|
||||||
map_script_2 VAR_0x40CD, 1, OldaleTown_PokemonCenter_2F_EventScript_276DE0
|
map_script_2 VAR_CABLE_CLUB_TUTORIAL_STATE, 1, OldaleTown_PokemonCenter_2F_EventScript_276DE0
|
||||||
map_script_2 VAR_CABLE_CLUB_STATE, 1, OldaleTown_PokemonCenter_2F_EventScript_276C85
|
map_script_2 VAR_CABLE_CLUB_STATE, 1, OldaleTown_PokemonCenter_2F_EventScript_276C85
|
||||||
map_script_2 VAR_CABLE_CLUB_STATE, 2, OldaleTown_PokemonCenter_2F_EventScript_276C85
|
map_script_2 VAR_CABLE_CLUB_STATE, 2, OldaleTown_PokemonCenter_2F_EventScript_276C85
|
||||||
map_script_2 VAR_CABLE_CLUB_STATE, 5, OldaleTown_PokemonCenter_2F_EventScript_276C85
|
map_script_2 VAR_CABLE_CLUB_STATE, 5, OldaleTown_PokemonCenter_2F_EventScript_276C85
|
||||||
@@ -336,7 +336,7 @@ OldaleTown_PokemonCenter_2F_EventScript_276DE0:: @ 8276DE0
|
|||||||
waitmovement 0
|
waitmovement 0
|
||||||
delay 30
|
delay 30
|
||||||
msgbox OldaleTown_PokemonCenter_2F_Text_279718, MSGBOX_DEFAULT
|
msgbox OldaleTown_PokemonCenter_2F_Text_279718, MSGBOX_DEFAULT
|
||||||
setvar VAR_0x40CD, 2
|
setvar VAR_CABLE_CLUB_TUTORIAL_STATE, 2
|
||||||
releaseall
|
releaseall
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -510,7 +510,7 @@ LittlerootTown_MaysHouse_1F_EventScript_292AF2:: @ 8292AF2
|
|||||||
multichoice 22, 8, 108, 1
|
multichoice 22, 8, 108, 1
|
||||||
copyvar VAR_0x8004, VAR_RESULT
|
copyvar VAR_0x8004, VAR_RESULT
|
||||||
special InitRoamer
|
special InitRoamer
|
||||||
copyvar VAR_0x40D5, VAR_RESULT
|
copyvar VAR_ROAMER_POKEMON, VAR_RESULT
|
||||||
msgbox LittlerootTown_BrendansHouse_1F_Text_1F83A1, MSGBOX_DEFAULT
|
msgbox LittlerootTown_BrendansHouse_1F_Text_1F83A1, MSGBOX_DEFAULT
|
||||||
closemessage
|
closemessage
|
||||||
setvar VAR_LITTLEROOT_HOUSES_STATE, 4
|
setvar VAR_LITTLEROOT_HOUSES_STATE, 4
|
||||||
@@ -518,6 +518,7 @@ LittlerootTown_MaysHouse_1F_EventScript_292AF2:: @ 8292AF2
|
|||||||
releaseall
|
releaseall
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ Never called.
|
||||||
LittlerootTown_BrendansHouse_1F_EventScript_292C72:: @ 8292C72
|
LittlerootTown_BrendansHouse_1F_EventScript_292C72:: @ 8292C72
|
||||||
setflag FLAG_SYS_TV_LATIAS_LATIOS
|
setflag FLAG_SYS_TV_LATIAS_LATIOS
|
||||||
return
|
return
|
||||||
|
|||||||
@@ -430,21 +430,21 @@ EventScript_275B4D:: @ 8275B4D
|
|||||||
EventScript_275B5B:: @ 8275B5B
|
EventScript_275B5B:: @ 8275B5B
|
||||||
closemessage
|
closemessage
|
||||||
playse SE_KAIDAN
|
playse SE_KAIDAN
|
||||||
setvar VAR_0x4097, 0
|
setvar VAR_INIT_SECRET_BASE, 0
|
||||||
setflag FLAG_DECORATION_0
|
setflag FLAG_DECORATION_0
|
||||||
special sub_80E8E18
|
special sub_80E8E18
|
||||||
special sub_80E9068
|
special sub_80E9068
|
||||||
setvar VAR_0x8004, 0
|
setvar VAR_0x8004, 0
|
||||||
setvar VAR_0x8005, 0
|
setvar VAR_0x8005, 0
|
||||||
special sub_80E933C
|
special sub_80E933C
|
||||||
setvar VAR_0x4089, 1
|
setvar VAR_SECRET_BASE_INITIALIZED, 1
|
||||||
waitstate
|
waitstate
|
||||||
end
|
end
|
||||||
|
|
||||||
SecretBase_RedCave1_EventScript_275B81:: @ 8275B81
|
SecretBase_RedCave1_EventScript_275B81:: @ 8275B81
|
||||||
applymovement EVENT_OBJ_ID_PLAYER, SecretBase_RedCave1_Movement_275BB4
|
applymovement EVENT_OBJ_ID_PLAYER, SecretBase_RedCave1_Movement_275BB4
|
||||||
waitmovement 0
|
waitmovement 0
|
||||||
setvar VAR_0x4097, 1
|
setvar VAR_INIT_SECRET_BASE, 1
|
||||||
msgbox SecretBase_RedCave1_Text_23B759, MSGBOX_YESNO
|
msgbox SecretBase_RedCave1_Text_23B759, MSGBOX_YESNO
|
||||||
compare VAR_RESULT, 1
|
compare VAR_RESULT, 1
|
||||||
goto_if_eq SecretBase_RedCave1_EventScript_275BAB
|
goto_if_eq SecretBase_RedCave1_EventScript_275BAB
|
||||||
@@ -467,21 +467,21 @@ SecretBase_RedCave1_Movement_275BB4: @ 8275BB4
|
|||||||
|
|
||||||
EventScript_275BB7:: @ 8275BB7
|
EventScript_275BB7:: @ 8275BB7
|
||||||
lockall
|
lockall
|
||||||
setvar VAR_0x4097, 1
|
setvar VAR_INIT_SECRET_BASE, 1
|
||||||
playse SE_KAIDAN
|
playse SE_KAIDAN
|
||||||
special sub_80E9744
|
special sub_80E9744
|
||||||
compare VAR_RESULT, 0
|
compare VAR_RESULT, 0
|
||||||
goto_if_eq EventScript_275BDB
|
goto_if_eq EventScript_275BDB
|
||||||
clearflag FLAG_DECORATION_0
|
clearflag FLAG_DECORATION_0
|
||||||
special sub_80E9068
|
special sub_80E9068
|
||||||
setvar VAR_0x4089, 0
|
setvar VAR_SECRET_BASE_INITIALIZED, 0
|
||||||
waitstate
|
waitstate
|
||||||
end
|
end
|
||||||
|
|
||||||
EventScript_275BDB:: @ 8275BDB
|
EventScript_275BDB:: @ 8275BDB
|
||||||
setflag FLAG_DECORATION_0
|
setflag FLAG_DECORATION_0
|
||||||
special sub_80E9068
|
special sub_80E9068
|
||||||
setvar VAR_0x4089, 0
|
setvar VAR_SECRET_BASE_INITIALIZED, 0
|
||||||
waitstate
|
waitstate
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -570,7 +570,7 @@ EventScript_275D0C:: @ 8275D0C
|
|||||||
setvar VAR_0x8004, 0
|
setvar VAR_0x8004, 0
|
||||||
setvar VAR_0x8005, 0
|
setvar VAR_0x8005, 0
|
||||||
special sub_80E933C
|
special sub_80E933C
|
||||||
setvar VAR_0x4089, 1
|
setvar VAR_SECRET_BASE_INITIALIZED, 1
|
||||||
end
|
end
|
||||||
|
|
||||||
EventScript_275D1F:: @ 8275D1F
|
EventScript_275D1F:: @ 8275D1F
|
||||||
|
|||||||
@@ -42,6 +42,9 @@ EventScript_27EE9A:: @ 827EE9A
|
|||||||
|
|
||||||
EventScript_27EEA4:: @ 827EEA4
|
EventScript_27EEA4:: @ 827EEA4
|
||||||
msgbox LittlerootTown_BrendansHouse_1F_Text_1F826F, MSGBOX_DEFAULT
|
msgbox LittlerootTown_BrendansHouse_1F_Text_1F826F, MSGBOX_DEFAULT
|
||||||
|
@ This is a junk call. Its input var (VAR_0x8004) hasn't been set, and
|
||||||
|
@ It's called again when Mom actually asks for the color, overwriting
|
||||||
|
@ whatever it does here.
|
||||||
special InitRoamer
|
special InitRoamer
|
||||||
clearflag FLAG_SYS_TV_LATIAS_LATIOS
|
clearflag FLAG_SYS_TV_LATIAS_LATIOS
|
||||||
setflag FLAG_LATIOS_OR_LATIAS_ROAMING
|
setflag FLAG_LATIOS_OR_LATIAS_ROAMING
|
||||||
|
|||||||
@@ -499,8 +499,8 @@ gSpecials:: @ 81DBA64
|
|||||||
def_special sub_813B21C
|
def_special sub_813B21C
|
||||||
def_special SetMatchCallRegisteredFlag
|
def_special SetMatchCallRegisteredFlag
|
||||||
def_special sub_8175280
|
def_special sub_8175280
|
||||||
def_special sub_813B2E4
|
def_special CreateUnusualWeatherEvent
|
||||||
def_special sub_813B374
|
def_special GetUnusualWeatherMapNameAndType
|
||||||
def_special sub_813B490
|
def_special sub_813B490
|
||||||
def_special sub_80A08CC
|
def_special sub_80A08CC
|
||||||
def_special Unused_SetWeatherSunny
|
def_special Unused_SetWeatherSunny
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user