summaryrefslogtreecommitdiff
path: root/src/wram.asm
diff options
context:
space:
mode:
authorxCrystal <rgr.crystal@gmail.com>2018-07-25 18:08:48 +0200
committerxCrystal <rgr.crystal@gmail.com>2018-07-25 18:08:48 +0200
commitf10e8a01cb30cae510af5ea613031783b61e880f (patch)
treefb34f59373a759045bd5b56b3ee9344b63cde97a /src/wram.asm
parente10c10442021c525590af916829426497aba144d (diff)
More duel related stuff
Diffstat (limited to 'src/wram.asm')
-rw-r--r--src/wram.asm32
1 files changed, 27 insertions, 5 deletions
diff --git a/src/wram.asm b/src/wram.asm
index 9cf0167..202dc6c 100644
--- a/src/wram.asm
+++ b/src/wram.asm
@@ -426,7 +426,8 @@ wTileMapFill:: ; cab6
wIE:: ; cab7
ds $1
-; incremented whenever the vblank handler ends. used to wait for it to end
+; incremented whenever the vblank handler ends. used to wait for it to end,
+; or to delay a specific amount of frames
wVBlankCounter:: ; cab8
ds $1
@@ -739,7 +740,8 @@ wTempSerialBuf:: ; cbed
wcbf7:: ; cbf7
ds $2
-wcbf9:: ; cbf9
+; when non-0, AIMakeDecision doesn't wait 60 frames and print DuelistIsThinkingText
+wSkipDuelistIsThinkingDelay:: ; cbf9
ds $1
wcbfa:: ; cbfa
@@ -921,7 +923,7 @@ wEffectFunctionsFeedback:: ; ccce
ds $18
; this is 1 (non-0) if dealing damage to self due to confusion
-wDamageToSelfMode:: ; cce6
+wIsDamageToSelf:: ; cce6
ds $1
ds $2
@@ -1299,7 +1301,22 @@ wTempPokemonID_ce7c:: ; ce7c
wce7e:: ; ce7e
ds $1
- ds $22
+wce7f:: ; ce7f
+ ds $2
+
+wce81:: ; ce81
+ ds $1
+
+wce82:: ; ce82
+ ds $1
+
+wce83:: ; ce83
+ ds $1
+
+wce84:: ; ce84
+ ds $1
+
+ ds $1c
wcea1:: ; cea1
ds $1
@@ -1846,7 +1863,12 @@ wd4ac:: ; d4ac
wd4ad:: ; d4ad
ds $1
- ds $10
+ ds $2
+
+wd4b0:: ; d4b0
+ ds $1
+
+ ds $d
wd4be:: ; d4be
ds $1