You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
Prefix engine_flags wram addresses with w
This commit is contained in:
@@ -336,7 +336,7 @@ ChooseWildEncounter: ; 2a14f
|
||||
cp UNOWN
|
||||
jr nz, .done
|
||||
|
||||
ld a, [UnlockedUnowns]
|
||||
ld a, [wUnlockedUnowns]
|
||||
and a
|
||||
jr z, .nowildbattle
|
||||
|
||||
@@ -428,7 +428,7 @@ _JohtoWildmonCheck
|
||||
_SwarmWildmonCheck
|
||||
call CopyCurrMapDE
|
||||
push hl
|
||||
ld hl, SwarmFlags
|
||||
ld hl, wSwarmFlags
|
||||
bit 2, [hl]
|
||||
pop hl
|
||||
jr z, .CheckYanma
|
||||
@@ -445,7 +445,7 @@ _SwarmWildmonCheck
|
||||
|
||||
.CheckYanma:
|
||||
push hl
|
||||
ld hl, SwarmFlags
|
||||
ld hl, wSwarmFlags
|
||||
bit 3, [hl]
|
||||
pop hl
|
||||
jr z, _NoSwarmWildmon
|
||||
|
||||
Reference in New Issue
Block a user