diff options
| author | Rangi <35663410+Rangi42@users.noreply.github.com> | 2025-06-30 12:47:22 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-30 12:47:22 -0400 |
| commit | 56c405de09ce267c4cfbc68a15c37b2ff51c635a (patch) | |
| tree | 47d25c237e9af824f7a57295a2d2e298b194a8e6 /home/predef.asm | |
| parent | Distinguish single trainer pics section from Pokemon pics (diff) | |
| download | pokeyellow-56c405de09ce267c4cfbc68a15c37b2ff51c635a.tar.gz pokeyellow-56c405de09ce267c4cfbc68a15c37b2ff51c635a.tar.xz pokeyellow-56c405de09ce267c4cfbc68a15c37b2ff51c635a.zip | |
Replace hardware_constants.asm with hardware.inc (#511)
Diffstat (limited to 'home/predef.asm')
| -rw-r--r-- | home/predef.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/home/predef.asm b/home/predef.asm index 14ac07b5..b460105a 100644 --- a/home/predef.asm +++ b/home/predef.asm @@ -14,13 +14,13 @@ Predef:: push af ld a, BANK(GetPredefPointer) ldh [hLoadedROMBank], a - ld [MBC1RomBank], a + ld [rROMB], a call GetPredefPointer ld a, [wPredefBank] ldh [hLoadedROMBank], a - ld [MBC1RomBank], a + ld [rROMB], a ld de, .done push de @@ -29,7 +29,7 @@ Predef:: pop af ldh [hLoadedROMBank], a - ld [MBC1RomBank], a + ld [rROMB], a ret GetPredefRegisters:: |
