diff options
author | anmart <andrewrmartinek@gmail.com> | 2016-02-15 00:36:57 -0500 |
---|---|---|
committer | anmart <andrewrmartinek@gmail.com> | 2016-02-15 00:36:57 -0500 |
commit | dc06e764c0d0a4f56d01474c5397a8e47aa0aa13 (patch) | |
tree | 37b5cae89ef34f4da5653e9e541dae92ef28398c /src/wram.asm | |
parent | 6df8da7bb2e5c0a3953c8e61446ee826680c1fdf (diff) |
Disassembled Battle Submenu functions
Disassembled a pointer table to each battle submenu and some code
mentioned in their functions, documented two wram bytes
Diffstat (limited to 'src/wram.asm')
-rwxr-xr-x | src/wram.asm | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/wram.asm b/src/wram.asm index cb50d68..17c9878 100755 --- a/src/wram.asm +++ b/src/wram.asm @@ -276,7 +276,17 @@ wSerialRecvBuf:: ; $cba5 - $cbc4 wBattleMenuSelection:: ; $cbc6 ds $1 - ds $40 + ds $4 + +wBenchSelectedPokemon:: ; $cbcb + ds $1 + ds $3 + +;When you're in a battle menu like your hand +;and you press a, this keeps track of where the cursor was +wBattleSubMenuSelected:: ; $cbcf + ds $1 + ds $37 ; 0 = no one has won battle yet ; 1 = player whose turn it is has won the battle |