aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/MtMoonB2F.asm
diff options
context:
space:
mode:
authorRangi42 <sylvie.oukaour+rangi42@gmail.com>2024-12-16 10:44:44 -0500
committerRangi42 <sylvie.oukaour+rangi42@gmail.com>2024-12-16 10:44:44 -0500
commitf92ebdcfbd1e6e96618e13a21c9c0d3db01bc5d1 (patch)
treead8d8e28d916a7cd667802a13d9d619a5083cd5a /scripts/MtMoonB2F.asm
parentRemove redundant parentheses (diff)
downloadpokeyellow-f92ebdcfbd1e6e96618e13a21c9c0d3db01bc5d1.tar.gz
pokeyellow-f92ebdcfbd1e6e96618e13a21c9c0d3db01bc5d1.tar.xz
pokeyellow-f92ebdcfbd1e6e96618e13a21c9c0d3db01bc5d1.zip
Let CheckEitherEventSet reuse A like CheckBothEventsSet
Diffstat (limited to 'scripts/MtMoonB2F.asm')
-rw-r--r--scripts/MtMoonB2F.asm3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/MtMoonB2F.asm b/scripts/MtMoonB2F.asm
index d17d13fe..d7d4a35b 100644
--- a/scripts/MtMoonB2F.asm
+++ b/scripts/MtMoonB2F.asm
@@ -184,8 +184,7 @@ MtMoonB2FSuperNerdText:
text_asm
CheckEvent EVENT_BEAT_MT_MOON_EXIT_SUPER_NERD
jr z, .beat_super_nerd
- ; CheckEitherEventSetReuseA EVENT_GOT_DOME_FOSSIL, EVENT_GOT_HELIX_FOSSIL
- and (1 << (EVENT_GOT_DOME_FOSSIL % 8)) | (1 << (EVENT_GOT_HELIX_FOSSIL % 8))
+ CheckEitherEventSet EVENT_GOT_DOME_FOSSIL, EVENT_GOT_HELIX_FOSSIL, 1
jr nz, .got_a_fossil
ld hl, MtMoonB2fSuperNerdEachTakeOneText
call PrintText