Fix alignment-related crashes

This commit is contained in:
PikalaxALT
2020-04-04 15:09:22 -04:00
parent cc3419eff7
commit 98c2df354f
4 changed files with 4 additions and 0 deletions
+1
View File
@@ -1909,6 +1909,7 @@ _081DDD90:
.align 2, 0 @ Don't pad with nop. .align 2, 0 @ Don't pad with nop.
.bss .bss
.align 3
gUnknown_030007B8: gUnknown_030007B8:
.space 0x40 .space 0x40
.size gUnknown_030007B8, .-gUnknown_030007B8 .size gUnknown_030007B8, .-gUnknown_030007B8
+1
View File
@@ -14,6 +14,7 @@
@ To make adding these improvements easier they are commented and tagged with "Improvement in Emerald" @ To make adding these improvements easier they are commented and tagged with "Improvement in Emerald"
@ Emerald also adds a few entirely new AI commands (mostly to expand Double Battle AI), which are not included @ Emerald also adds a few entirely new AI commands (mostly to expand Double Battle AI), which are not included
.align 2
gBattleAI_ScriptsTable:: @ 81D9BF4 gBattleAI_ScriptsTable:: @ 81D9BF4
.4byte AI_CheckBadMove .4byte AI_CheckBadMove
.4byte AI_CheckViability .4byte AI_CheckViability
+1
View File
@@ -44,6 +44,7 @@ gMovesWithQuietBGM:: @ 81C68EC
.2byte MOVE_GRASS_WHISTLE .2byte MOVE_GRASS_WHISTLE
.2byte 0xFFFF .2byte 0xFFFF
.align 2
gBattleAnims_Moves:: gBattleAnims_Moves::
.4byte Move_NONE .4byte Move_NONE
.4byte Move_POUND .4byte Move_POUND
+1
View File
@@ -13,6 +13,7 @@ SECTIONS {
*(ewram_data); *(ewram_data);
/* pokemon_summary_screen.o */ /* pokemon_summary_screen.o */
. = ALIGN(4);
gUnknown_203B140 = .; . += 0x4; gUnknown_203B140 = .; . += 0x4;
gUnknown_203B144 = .; . += 0x4; gUnknown_203B144 = .; . += 0x4;
gUnknown_203B148 = .; . += 0x10; gUnknown_203B148 = .; . += 0x10;