From 722ca8af43d7d61b08723a1153e402b4100ce9d2 Mon Sep 17 00:00:00 2001 From: yenatch Date: Sun, 1 Apr 2018 21:07:14 -0400 Subject: remove BANK[] and bank constants from ROMX sections --- scripts/ssanne7.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/ssanne7.asm b/scripts/ssanne7.asm index 06789cd5..1f53d1be 100755 --- a/scripts/ssanne7.asm +++ b/scripts/ssanne7.asm @@ -45,11 +45,11 @@ SSAnne7RubText: TX_FAR _SSAnne7RubText TX_ASM ld a, [wAudioROMBank] - cp AUDIO_3 + cp BANK(AudioEngine3) ld [wAudioSavedROMBank], a jr nz, .asm_61908 call StopAllMusic - ld a, Bank(Music_PkmnHealed) + ld a, BANK(Music_PkmnHealed) ld [wAudioROMBank], a .asm_61908 ld a, MUSIC_PKMN_HEALED -- cgit v1.2.3 From cfec16566e41ced2faa97a3a5314ba5bbc0d0395 Mon Sep 17 00:00:00 2001 From: yenatch Date: Sun, 1 Apr 2018 21:11:10 -0400 Subject: fix some constants --- scripts/mtmoon3.asm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/mtmoon3.asm b/scripts/mtmoon3.asm index e86d6d37..aaa29825 100755 --- a/scripts/mtmoon3.asm +++ b/scripts/mtmoon3.asm @@ -493,7 +493,8 @@ MtMoon3Text1: TX_ASM CheckEvent EVENT_BEAT_MT_MOON_EXIT_SUPER_NERD jr z, .asm_4a02f - and $81 ; CheckEitherEventSetReuseA EVENT_GOT_DOME_FOSSIL, EVENT_GOT_HELIX_FOSSIL + ; CheckEitherEventSetReuseA EVENT_GOT_DOME_FOSSIL, EVENT_GOT_HELIX_FOSSIL + and (1 << (EVENT_GOT_DOME_FOSSIL % 8)) | (1 << (EVENT_GOT_HELIX_FOSSIL % 8)) jr nz, .asm_4a057 ld hl, MtMoon3Text_4a116 call PrintText -- cgit v1.2.3