summaryrefslogtreecommitdiff
path: root/wram.asm
diff options
context:
space:
mode:
Diffstat (limited to 'wram.asm')
-rwxr-xr-xwram.asm27
1 files changed, 22 insertions, 5 deletions
diff --git a/wram.asm b/wram.asm
index a08aae74..ee7d2afe 100755
--- a/wram.asm
+++ b/wram.asm
@@ -351,6 +351,10 @@ wNPCMovementScriptBank:: ; cc58
ds 2
wHallOfFame:: ; cc5b
+wBoostExpByExpAll:: ; cc5b
+wAnimationType:: ; cc5b
+; values between 0-6. Shake screen horizontally, shake screen vertically, blink Pokemon...
+
wcc5b:: ds 1
wcc5c:: ds 1
wcc5d:: ds 1
@@ -377,7 +381,11 @@ wSimulatedJoypadStatesEnd:: ; ccd3
wccd3:: ds 1
wccd4:: ds 1
-wccd5:: ds 2
+
+; if [ccd5] != 1, the second AI layer is not applied
+wAILayer2Encouragement:: ; ccd5
+ ds 1
+ ds 1
; current HP of player and enemy substitutes
wPlayerSubstituteHP:: ; ccd7
@@ -424,14 +432,14 @@ wSafariBaitFactor:: ; cce9
wcceb:: ds 1
wccec:: ds 1
-wcced:: ds 1
+wMonIsDisobedient:: ds 1
wccee:: ds 1
wccef:: ds 1
wccf0:: ds 1
wPlayerUsedMove:: ds 1
wEnemyUsedMove:: ds 1
wccf3:: ds 1
-wccf4:: ds 1
+wMoveDidntMiss:: ds 1
wPartyFoughtCurrentEnemyFlags::
; flags that indicate which party members have fought the current enemy mon
@@ -783,7 +791,9 @@ wcf30:: ds 7
wcf37:: ds 20
wcf4b:: ds 1
wcf4c:: ds 1
-wcf4d:: ds 18
+wGainBoostedExp:: ; cf4d
+ ds 1
+ ds 17
wGymCityName:: ; cf5f
wStringBuffer1:: ; cf5f
@@ -967,7 +977,14 @@ W_BATTLETYPE:: ; d05a
; in safari battle, this is 2
ds 1
-wd05b:: ds 1
+wDamageMultipliers:: ; d05b
+; bits 0-6: Effectiveness
+ ; $0 = immune
+ ; $5 = not very effective
+ ; $a = neutral
+ ; $14 = super-effective
+; bit 7: STAB
+ ds 1
W_LONEATTACKNO:: ; d05c
; which entry in LoneAttacks to use