aboutsummaryrefslogtreecommitdiffstats
path: root/engine/palettes.asm
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-06-11 21:30:31 -0700
committerYamaArashi <shadow962@live.com>2016-06-11 21:33:57 -0700
commit4c5c98cb2a1bc747a0eb397cb75e48dc8a098494 (patch)
tree2872a6436075c0d6132671e98af44f0a1429e498 /engine/palettes.asm
parentMerge pull request #13 from YamaArashi/master (diff)
downloadpokeyellow-4c5c98cb2a1bc747a0eb397cb75e48dc8a098494.tar.gz
pokeyellow-4c5c98cb2a1bc747a0eb397cb75e48dc8a098494.tar.xz
pokeyellow-4c5c98cb2a1bc747a0eb397cb75e48dc8a098494.zip
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