Update item_effects.asm

This commit is contained in:
robjlyons 2026-02-11 14:30:33 +00:00 committed by GitHub
parent ee17b3a8cf
commit 4b6057472a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2669,15 +2669,12 @@ MarkWildEncounterCatchUsedItem:
ret
EnableEncounterCatchSRAM_Item:
ld a, $0A
ld [$0000], a ; enable SRAM
xor a
ld [$4000], a ; SRAM bank 0
ld a, BANK(sMapEncounterCatchFlags) ; should be 0 now
call OpenSRAM
ret
DisableEncounterCatchSRAM_Item:
xor a
ld [$0000], a ; disable SRAM
call CloseSRAM
ret
NoCyclingAllowedHereText: