summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi@gmail.com>2020-09-20 19:44:16 -0400
committerRangi <remy.oukaour+rangi@gmail.com>2020-09-20 19:44:16 -0400
commit7a7f308e138cfcf39c411da15ab508318ceadc7f (patch)
tree024675f2be8d071d89a9ff7e875e7b13160bfcf3
parenta6bf7954f0a517ad65a5f5100785d080ebab9125 (diff)
0x -> $
-rw-r--r--engine/menu/main_menu.asm2
-rw-r--r--home/pokemon.asm5
-rw-r--r--hram.asm50
-rw-r--r--wram.asm8
4 files changed, 32 insertions, 33 deletions
diff --git a/engine/menu/main_menu.asm b/engine/menu/main_menu.asm
index fca2b96..356a237 100644
--- a/engine/menu/main_menu.asm
+++ b/engine/menu/main_menu.asm
@@ -76,7 +76,7 @@ InitializeNewGameWRAM:
ret
-; Initializes a 0xFF-terminated list preceded by a length to
+; Initializes a $FF-terminated list preceded by a length to
; length 0, with an immediate terminator.
InitializeByteList:
xor a
diff --git a/home/pokemon.asm b/home/pokemon.asm
index 10e1ad2..3e2ac23 100644
--- a/home/pokemon.asm
+++ b/home/pokemon.asm
@@ -100,9 +100,8 @@ UncompressMonSprite::
jp UncompressSpriteData
LoadMonFrontSprite::
-; Uncompress Pokémon Front Sprite for
-; mon currently loaded in wMonHeader
-; to 0x9000
+; Uncompress Pokémon Front Sprite for mon
+; currently loaded in wMonHeader to vFrontPic
; de: destination location
; returns the sprite dimension in c
push de
diff --git a/hram.asm b/hram.asm
index bf4e34a..4acfbfa 100644
--- a/hram.asm
+++ b/hram.asm
@@ -168,13 +168,13 @@ hWY:: db
hOverworldFlashlightEffect:: db
; Influences draw distance of map around HIRO
-; Meant to go from 0x00--> to desired distance
+; Meant to go from 0 --> to desired distance
; or else graphical errors will occur.
-; 0x00 - regular distance
-; 0x01 - 14x14 tile block
-; 0x02 - 10x10 tile block
-; 0x03 - 6x 6 tile block
-; 0x04 - 2x 2 tile block
+; 0 - regular distance
+; 1 - 14x14 tile block
+; 2 - 10x10 tile block
+; 3 - 6x 6 tile block
+; 4 - 2x 2 tile block
hBGMapMode::
db
@@ -194,25 +194,25 @@ hRedrawRowOrColumnMode:: db
; instead of once completely for faster
; scrolling on overworld etc.
; Valid values:
-; 0x00 - no redraw
-; 0x01 - column redraw (move horizontally)
-; 0x02 - row redraw (move vertically)
-; 0x03 - flashlight row redraw 0 (move up)
-; 0x04 - flashlight row redraw 0 (move down)
-; 0x05 - flashlight column redraw 0 (move left)
-; 0x06 - flashlight column redraw 0 (move right)
-; 0x07 - flashlight row redraw 1 (move up)
-; 0x08 - flashlight row redraw 1 (move down)
-; 0x09 - flashlight column redraw 1 (move left)
-; 0x0A - flashlight column redraw 1 (move right)
-; 0x0B - flashlight row redraw 2 (move up)
-; 0x0C - flashlight row redraw 2 (move down)
-; 0x0D - flashlight column redraw 2 (move left)
-; 0x0E - flashlight column redraw 2 (move right)
-; 0x0F - flashlight row redraw 3 (move up)
-; 0x10 - flashlight row redraw 3 (move down)
-; 0x11 - flashlight column redraw 3 (move left)
-; 0x12 - flashlight column redraw 3 (move right)
+; $00 - no redraw
+; $01 - column redraw (move horizontally)
+; $02 - row redraw (move vertically)
+; $03 - flashlight row redraw 0 (move up)
+; $04 - flashlight row redraw 0 (move down)
+; $05 - flashlight column redraw 0 (move left)
+; $06 - flashlight column redraw 0 (move right)
+; $07 - flashlight row redraw 1 (move up)
+; $08 - flashlight row redraw 1 (move down)
+; $09 - flashlight column redraw 1 (move left)
+; $0A - flashlight column redraw 1 (move right)
+; $0B - flashlight row redraw 2 (move up)
+; $0C - flashlight row redraw 2 (move down)
+; $0D - flashlight column redraw 2 (move left)
+; $0E - flashlight column redraw 2 (move right)
+; $0F - flashlight row redraw 3 (move up)
+; $10 - flashlight row redraw 3 (move down)
+; $11 - flashlight column redraw 3 (move left)
+; $12 - flashlight column redraw 3 (move right)
hRedrawRowOrColumnDest:: ds 2
diff --git a/wram.asm b/wram.asm
index f350b54..9690975 100644
--- a/wram.asm
+++ b/wram.asm
@@ -910,10 +910,10 @@ wTimeOfDayPalFlags:: db
wTimeOfDayPalset:: db
; 76543210
; \/\/\/\/
-; | | | \- Map Palette for TimeOfDay 0x00
-; | | \--- Map Palette for TimeOfDay 0x01
-; | \----- Map Palette for TimeOfDay 0x02
-; \------- Map Palette for TimeOfDay 0x03
+; | | | \- Map Palette for TimeOfDay $00 (MORN)
+; | | \--- Map Palette for TimeOfDay $01 (DAY)
+; | \----- Map Palette for TimeOfDay $02 (NITE)
+; \------- Map Palette for TimeOfDay $03 (DARK)
wCurTimeOfDay:: db