aboutsummaryrefslogtreecommitdiffstats
path: root/engine/palettes.asm
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-06-12 00:54:49 -0700
committerGitHub <noreply@github.com>2016-06-12 00:54:49 -0700
commitbcf0bd960b03720a02669ed2b6d3a22df60cf0b2 (patch)
tree2ffb3b9c8eca5fc4e2be2fc8aaf4965f64a13296 /engine/palettes.asm
parentMerge pull request #13 from YamaArashi/master (diff)
parentmore syncing with pokered (diff)
downloadpokeyellow-bcf0bd960b03720a02669ed2b6d3a22df60cf0b2.tar.gz
pokeyellow-bcf0bd960b03720a02669ed2b6d3a22df60cf0b2.tar.xz
pokeyellow-bcf0bd960b03720a02669ed2b6d3a22df60cf0b2.zip
Merge pull request #16 from YamaArashi/master
sync engine code with pokered
Diffstat (limited to 'engine/palettes.asm')
-rwxr-xr-xengine/palettes.asm8
1 files changed, 2 insertions, 6 deletions
diff --git a/engine/palettes.asm b/engine/palettes.asm
index 9418fb72..c6c234ae 100755
--- a/engine/palettes.asm
+++ b/engine/palettes.asm
@@ -181,19 +181,15 @@ SetPal_Overworld:
ld a, SET_PAL_OVERWORLD
ld [wDefaultPaletteCommand], a
ret
-
.PokemonTowerOrAgatha
ld a, PAL_GREYMON - 1
jr .town
-
.caveOrBruno
ld a, PAL_CAVE - 1
jr .town
-
.Lorelei
xor a
jr .town
-
.trade_center_colosseum
ld a, PAL_GREYMON - 1
jr .town
@@ -535,9 +531,8 @@ _SendSGBPacket:
; set P14=HIGH, P15=HIGH
ld a, $30
ld [rJOYP], a
- call Wait7000
; wait for about 70000 cycles
-; call Wait7000
+ call Wait7000
; restore (previously pushed) number of packets
pop bc
dec b
@@ -613,6 +608,7 @@ PrepareSuperNintendoVRAMTransfer:
dw DataSnd_72911
CheckSGB:
+; Returns whether the game is running on an SGB in carry.
ld hl, MltReq2Packet
call SendSGBPacket
call Wait7000