diff options
author | dannye <33dannye@gmail.com> | 2020-11-07 14:35:40 -0600 |
---|---|---|
committer | dannye <33dannye@gmail.com> | 2020-11-07 14:35:40 -0600 |
commit | 453107ab8ac6a7b76d21c466e32aa7290643724d (patch) | |
tree | 5b2fd7691446b591fca4c3dc396d5a672299f892 /engine/battle/core.asm | |
parent | 989545f0e03b7e32d8ea80d8ab4455576dbd7116 (diff) |
More debug yellow
only debug menu left
Diffstat (limited to 'engine/battle/core.asm')
-rwxr-xr-x | engine/battle/core.asm | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/engine/battle/core.asm b/engine/battle/core.asm index 01074b74..3957795b 100755 --- a/engine/battle/core.asm +++ b/engine/battle/core.asm @@ -2710,6 +2710,14 @@ SelectMenuItem: jp nz, SelectMenuItem_CursorDown ; down bit 2, a jp nz, SwapMovesInMenu ; select +IF DEF(_DEBUG) + bit BIT_START, a + jp nz, Func_3d4f5 + bit BIT_D_RIGHT, a + jp nz, Func_3d529 + bit BIT_D_LEFT, a + jp nz, Func_3d523 +ENDC bit 1, a ; B, but was it reset above? push af xor a @@ -2904,6 +2912,11 @@ NoMovesLeftText: text_end SwapMovesInMenu: +IF DEF(_DEBUG) + ld a, [wFlags_D733] + bit BIT_TEST_BATTLE, a + jp nz, Func_3d4f5 +ENDC ld a, [wPlayerBattleStatus3] bit TRANSFORMED, a jp nz, MoveSelectionMenu |