mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 23:55:24 +13:00
Remove remaining raw $xxxx values, and replace "+ -1" with "- 1" (supported by rgbds 0.4.0)
This commit is contained in:
parent
7e92d5ba8c
commit
e4e0af4d67
29 changed files with 172 additions and 158 deletions
|
|
@ -2,6 +2,19 @@
|
|||
|
||||
GBC EQU $11
|
||||
|
||||
; memory map
|
||||
VRAM_Begin EQU $8000
|
||||
VRAM_End EQU $a000
|
||||
SRAM_Begin EQU $a000
|
||||
SRAM_End EQU $c000
|
||||
WRAM0_Begin EQU $c000
|
||||
WRAM0_End EQU $d000
|
||||
WRAM1_Begin EQU $d000
|
||||
WRAM1_End EQU $e000
|
||||
; hardware registers $ff00-$ff80 (see below)
|
||||
HRAM_Begin EQU $ff80
|
||||
HRAM_End EQU $ffff
|
||||
|
||||
; MBC1
|
||||
MBC1SRamEnable EQU $0000
|
||||
MBC1RomBank EQU $2000
|
||||
|
|
|
|||
|
|
@ -165,7 +165,7 @@
|
|||
const SLASH ; a3
|
||||
const SUBSTITUTE ; a4
|
||||
|
||||
NUM_ATTACKS EQU const_value + -1
|
||||
NUM_ATTACKS EQU const_value - 1
|
||||
|
||||
const STRUGGLE ; a5
|
||||
|
||||
|
|
|
|||
|
|
@ -151,4 +151,4 @@
|
|||
const DEX_MEWTWO ; 150
|
||||
const DEX_MEW ; 151
|
||||
|
||||
NUM_POKEMON EQU const_value + -1
|
||||
NUM_POKEMON EQU const_value - 1
|
||||
|
|
|
|||
|
|
@ -191,4 +191,4 @@
|
|||
const WEEPINBELL ; $BD
|
||||
const VICTREEBEL ; $BE
|
||||
|
||||
NUM_POKEMON_INDEXES EQU const_value + -1
|
||||
NUM_POKEMON_INDEXES EQU const_value - 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue