summaryrefslogtreecommitdiff
path: root/src/wram.asm
diff options
context:
space:
mode:
authorxCrystal <rgr.crystal@gmail.com>2018-07-02 02:20:32 +0200
committerxCrystal <rgr.crystal@gmail.com>2018-07-02 02:20:32 +0200
commit9dbc960bdf24eb19c9af741c18d722cb720aab50 (patch)
tree98f047a0623d827335c737342eed2f26cf1fd4e9 /src/wram.asm
parent779b0ff472edeff7b0bbb36970cb342c17613f12 (diff)
Disassemble functions related to retreating card
Diffstat (limited to 'src/wram.asm')
-rw-r--r--src/wram.asm32
1 files changed, 26 insertions, 6 deletions
diff --git a/src/wram.asm b/src/wram.asm
index 0aec374..6619a17 100644
--- a/src/wram.asm
+++ b/src/wram.asm
@@ -536,7 +536,14 @@ wSerialCounter2:: ; cb77
wSerialTimeoutCounter:: ; cb78
ds $1
- ds $4
+wcb79:: ; cb79
+ ds $1
+
+wcb7a:: ; cb7a
+ ds $1
+
+wcb7b:: ; cb7b
+ ds $2
wSerialSendSave:: ; cb7d
ds $1
@@ -595,9 +602,13 @@ wcbc9:: ; cbc9
wBenchSelectedPokemon:: ; cbcb
ds $1
- ds $2
+wEnergyCardsRequiredToRetreat:: ; cbcc
+ ds $1
+
+wcbcd:: ; cbcd
+ ds $1
-; used in CheckIfEnoughEnergies for the calculation
+; used in CheckIfEnoughEnergiesToMove for the calculation
wAttachedEnergiesAccum:: ; cbce
ds $1
@@ -679,12 +690,21 @@ wcbe9:: ; cbe9
wcbed:: ; cbed
ds $8
- ds $4
+ ds $2
+
+wcbf7:: ; cbf7
+ ds $2
wcbf9:: ; cbf9
ds $1
- ds $4
+wcbfa:: ; cbfa
+ ds $1
+
+wcbfb:: ; cbfb
+ ds $1
+
+ ds $2
; during a practice duel, identifies an entry of PracticeDuelActionTable
wPracticeDuelAction:: ; cbfe
@@ -731,7 +751,7 @@ wGotHeadsFromSandAttackOrSmokescreenCheck:: ; cc0a
wAlreadyPlayedEnergy:: ; cc0b
ds $1
-wcc0c:: ; cc0c
+wGotHeadsFromConfusionCheckDuringRetreat:: ; cc0c
ds $1
; DUELIST_TYPE_* of the turn holder