You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-12-11 05:02:16 -08:00
Blindly use wram labels for everything except mobile, part 1.
Wram banks and mobile make this tough, since any address can secretly be a ghost. As usual, mobile completely disregards 99% of the codebase. It's been ignored in kind.
This commit is contained in:
@@ -21,7 +21,7 @@ BattleCommand50: ; 37492
|
||||
|
||||
; Can't steal mail.
|
||||
|
||||
ld [$d265], a
|
||||
ld [wd265], a
|
||||
ld d, a
|
||||
callba ItemIsMail
|
||||
ret c
|
||||
@@ -45,7 +45,7 @@ BattleCommand50: ; 37492
|
||||
ld [de], a
|
||||
|
||||
call .playeritem
|
||||
ld a, [$d265]
|
||||
ld a, [wd265]
|
||||
ld [hl], a
|
||||
ld [de], a
|
||||
jr .stole
|
||||
@@ -69,7 +69,7 @@ BattleCommand50: ; 37492
|
||||
|
||||
; Can't steal mail!
|
||||
|
||||
ld [$d265], a
|
||||
ld [wd265], a
|
||||
ld d, a
|
||||
callba ItemIsMail
|
||||
ret c
|
||||
@@ -87,7 +87,7 @@ BattleCommand50: ; 37492
|
||||
ld [de], a
|
||||
|
||||
call .enemyitem
|
||||
ld a, [$d265]
|
||||
ld a, [wd265]
|
||||
ld [hl], a
|
||||
ld [de], a
|
||||
|
||||
|
||||
Reference in New Issue
Block a user