You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Prefix engine_flags wram addresses with w
This commit is contained in:
@@ -6695,7 +6695,7 @@ CheckSleepingTreeMon: ; 3eb38
|
||||
CheckUnownLetter: ; 3eb75
|
||||
; Return carry if the Unown letter hasn't been unlocked yet
|
||||
|
||||
ld a, [UnlockedUnowns]
|
||||
ld a, [wUnlockedUnowns]
|
||||
ld c, a
|
||||
ld de, 0
|
||||
|
||||
@@ -7074,7 +7074,7 @@ BadgeStatBoosts: ; 3ed45
|
||||
and a
|
||||
ret nz
|
||||
|
||||
ld a, [JohtoBadges]
|
||||
ld a, [wJohtoBadges]
|
||||
|
||||
; Swap badges 3 (PlainBadge) and 5 (MineralBadge).
|
||||
ld d, a
|
||||
@@ -9349,7 +9349,7 @@ GetTrainerBackpic: ; 3fbff
|
||||
ld a, [wPlayerSpriteSetupFlags]
|
||||
bit 2, a ; transformed to male
|
||||
jr nz, .Chris
|
||||
ld a, [PlayerGender]
|
||||
ld a, [wPlayerGender]
|
||||
bit 0, a
|
||||
jr z, .Chris
|
||||
|
||||
|
@@ -726,7 +726,7 @@ BattleCommand_CheckObedience: ; 343db
|
||||
|
||||
.obeylevel
|
||||
; The maximum obedience level is constrained by owned badges:
|
||||
ld hl, JohtoBadges
|
||||
ld hl, wJohtoBadges
|
||||
|
||||
; risingbadge
|
||||
bit RISINGBADGE, [hl]
|
||||
|
@@ -176,9 +176,9 @@ DoBadgeTypeBoosts: ; fbe24
|
||||
|
||||
ld hl, .BadgeTypes
|
||||
|
||||
ld a, [KantoBadges]
|
||||
ld a, [wKantoBadges]
|
||||
ld b, a
|
||||
ld a, [JohtoBadges]
|
||||
ld a, [wJohtoBadges]
|
||||
ld c, a
|
||||
|
||||
.CheckBadge:
|
||||
|
Reference in New Issue
Block a user