diff options
Diffstat (limited to 'engine/overworld/cmd_queue.asm')
-rw-r--r-- | engine/overworld/cmd_queue.asm | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/engine/overworld/cmd_queue.asm b/engine/overworld/cmd_queue.asm index 3e1b09db5..aab339e6c 100644 --- a/engine/overworld/cmd_queue.asm +++ b/engine/overworld/cmd_queue.asm @@ -134,7 +134,7 @@ HandleQueuedCommand: dba CmdQueue_Type3 dba CmdQueue_Type4 -CmdQueueAnonymousJumptable: +CmdQueues_AnonJumptable: ld hl, CMDQUEUE_05 add hl, bc ld a, [hl] @@ -142,13 +142,13 @@ CmdQueueAnonymousJumptable: rst JumpTable ret -CmdQueueAnonJT_Increment: +CmdQueues_IncAnonJumptableIndex: ld hl, CMDQUEUE_05 add hl, bc inc [hl] ret -CmdQueueAnonJT_Decrement: +CmdQueues_DecAnonJumptableIndex: ld hl, CMDQUEUE_05 add hl, bc dec [hl] @@ -162,7 +162,7 @@ CmdQueue_Type1: ret CmdQueue_Type4: - call CmdQueueAnonymousJumptable + call CmdQueues_AnonJumptable ; anonymous dw dw .zero dw .one @@ -172,7 +172,7 @@ CmdQueue_Type4: ld hl, CMDQUEUE_04 add hl, bc ld [hl], a - call CmdQueueAnonJT_Increment + call CmdQueues_IncAnonJumptableIndex .one ld hl, CMDQUEUE_ADDR add hl, bc @@ -206,7 +206,7 @@ CmdQueue_Type4: ret CmdQueue_Type3: - call CmdQueueAnonymousJumptable + call CmdQueues_AnonJumptable ; anonymous dw dw .zero dw .one @@ -215,11 +215,11 @@ CmdQueue_Type3: .zero call .IsPlayerFacingDown jr z, .PlayerNotFacingDown - call CmdQueueAnonJT_Increment + call CmdQueues_IncAnonJumptableIndex .one call .IsPlayerFacingDown jr z, .PlayerNotFacingDown - call CmdQueueAnonJT_Increment + call CmdQueues_IncAnonJumptableIndex ld hl, CMDQUEUE_02 add hl, bc @@ -230,7 +230,7 @@ CmdQueue_Type3: .two call .IsPlayerFacingDown jr z, .PlayerNotFacingDown - call CmdQueueAnonJT_Decrement + call CmdQueues_DecAnonJumptableIndex ld hl, CMDQUEUE_03 add hl, bc |