summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2021-03-11 17:43:20 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2021-03-11 17:43:20 -0500
commit97a11c623ebd2c3e8d40a9c01b42669b2094da2c (patch)
treefdf8c33ef5d460793b4e84450ab42e030a58fe01
parentd132a20b7aa5e0e411683e792d90947ab195e1d4 (diff)
Sync some files with pokegold
-rw-r--r--engine/overworld/cmd_queue.asm4
-rw-r--r--engine/overworld/map_objects.asm2
-rw-r--r--maps/PlayersHouse2F.asm20
-rw-r--r--mobile/news/news.asm2
-rw-r--r--wram.asm1
5 files changed, 15 insertions, 14 deletions
diff --git a/engine/overworld/cmd_queue.asm b/engine/overworld/cmd_queue.asm
index 906a02faa..f94bf5c64 100644
--- a/engine/overworld/cmd_queue.asm
+++ b/engine/overworld/cmd_queue.asm
@@ -163,7 +163,7 @@ CmdQueue_Type1:
CmdQueue_Type4:
call CmdQueues_AnonJumptable
- ; anonymous dw
+.anon_dw
dw .zero
dw .one
@@ -207,7 +207,7 @@ CmdQueue_Type4:
CmdQueue_Type3:
call CmdQueues_AnonJumptable
- ; anonymous dw
+.anon_dw
dw .zero
dw .one
dw .two
diff --git a/engine/overworld/map_objects.asm b/engine/overworld/map_objects.asm
index bf809a2e6..9082f4c19 100644
--- a/engine/overworld/map_objects.asm
+++ b/engine/overworld/map_objects.asm
@@ -2746,7 +2746,7 @@ _UpdateSprites::
.fill
ld a, [wVramState]
bit 1, a
- ld b, LOW(wVirtualOAMEnd)
+ ld b, OBJECT_LENGTH * SPRITEOAMSTRUCT_LENGTH
jr z, .ok
ld b, 28 * SPRITEOAMSTRUCT_LENGTH
.ok
diff --git a/maps/PlayersHouse2F.asm b/maps/PlayersHouse2F.asm
index c36e3d76d..61cee6f23 100644
--- a/maps/PlayersHouse2F.asm
+++ b/maps/PlayersHouse2F.asm
@@ -31,19 +31,19 @@ PlayersHouse2F_MapScripts:
db 0, 0, 0 ; unused
-Doll1Script::
+PlayersHouseDoll1Script::
describedecoration DECODESC_LEFT_DOLL
-Doll2Script:
+PlayersHouseDoll2Script:
describedecoration DECODESC_RIGHT_DOLL
-BigDollScript:
+PlayersHouseBigDollScript:
describedecoration DECODESC_BIG_DOLL
-GameConsoleScript:
+PlayersHouseGameConsoleScript:
describedecoration DECODESC_CONSOLE
-PosterScript:
+PlayersHousePosterScript:
conditional_event EVENT_PLAYERS_ROOM_POSTER, .Script
.Script:
@@ -124,10 +124,10 @@ PlayersHouse2F_MapEvents:
bg_event 2, 1, BGEVENT_UP, PlayersHousePCScript
bg_event 3, 1, BGEVENT_READ, PlayersHouseRadioScript
bg_event 5, 1, BGEVENT_READ, PlayersHouseBookshelfScript
- bg_event 6, 0, BGEVENT_IFSET, PosterScript
+ bg_event 6, 0, BGEVENT_IFSET, PlayersHousePosterScript
def_object_events
- object_event 4, 2, SPRITE_CONSOLE, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GameConsoleScript, EVENT_PLAYERS_HOUSE_2F_CONSOLE
- object_event 4, 4, SPRITE_DOLL_1, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, Doll1Script, EVENT_PLAYERS_HOUSE_2F_DOLL_1
- object_event 5, 4, SPRITE_DOLL_2, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, Doll2Script, EVENT_PLAYERS_HOUSE_2F_DOLL_2
- object_event 0, 1, SPRITE_BIG_DOLL, SPRITEMOVEDATA_BIGDOLL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, BigDollScript, EVENT_PLAYERS_HOUSE_2F_BIG_DOLL
+ object_event 4, 2, SPRITE_CONSOLE, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, PlayersHouseGameConsoleScript, EVENT_PLAYERS_HOUSE_2F_CONSOLE
+ object_event 4, 4, SPRITE_DOLL_1, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, PlayersHouseDoll1Script, EVENT_PLAYERS_HOUSE_2F_DOLL_1
+ object_event 5, 4, SPRITE_DOLL_2, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, PlayersHouseDoll2Script, EVENT_PLAYERS_HOUSE_2F_DOLL_2
+ object_event 0, 1, SPRITE_BIG_DOLL, SPRITEMOVEDATA_BIGDOLL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, PlayersHouseBigDollScript, EVENT_PLAYERS_HOUSE_2F_BIG_DOLL
diff --git a/mobile/news/news.asm b/mobile/news/news.asm
index f8343f676..e7264c2ea 100644
--- a/mobile/news/news.asm
+++ b/mobile/news/news.asm
@@ -1,6 +1,6 @@
; http://forums.glitchcity.info/index.php?topic=7509.msg206449#msg206449
- dab Doll1Script ; related to "My Room" in Stadium 2?
+ dab PlayersHouseDoll1Script ; related to "My Room" in Stadium 2?
Function1f4003: ; unreferenced
ld a, BANK(s6_a000)
diff --git a/wram.asm b/wram.asm
index c57ba52a7..f19e78f68 100644
--- a/wram.asm
+++ b/wram.asm
@@ -2112,6 +2112,7 @@ wSolvedUnownPuzzle::
wVramState::
; bit 0: overworld sprite updating on/off
+; bit 1: something to do with sprite updates
; bit 6: something to do with text
; bit 7: on when surf initiates
; flickers when climbing waterfall