mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-13 11:24:40 +00:00
Fix jump table
This commit is contained in:
parent
eb74a1854e
commit
0faddf5321
1 changed files with 8 additions and 8 deletions
|
@ -424,26 +424,26 @@ void func_80A779DC(EnIk* this, GlobalContext* globalCtx) {
|
||||||
action = npcAction->action;
|
action = npcAction->action;
|
||||||
currentNpcAction = this->npcAction;
|
currentNpcAction = this->npcAction;
|
||||||
if (action != currentNpcAction) {
|
if (action != currentNpcAction) {
|
||||||
switch (action - 1) {
|
switch (action) {
|
||||||
case 0:
|
case 1:
|
||||||
func_80A77148(this);
|
func_80A77148(this);
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 2:
|
||||||
func_80A77158(this, globalCtx);
|
func_80A77158(this, globalCtx);
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 3:
|
||||||
func_80A771E4(this);
|
func_80A771E4(this);
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 4:
|
||||||
func_80A78160(this, globalCtx);
|
func_80A78160(this, globalCtx);
|
||||||
break;
|
break;
|
||||||
case 4:
|
case 5:
|
||||||
func_80A7735C(this, globalCtx);
|
func_80A7735C(this, globalCtx);
|
||||||
break;
|
break;
|
||||||
case 5:
|
case 6:
|
||||||
func_80A77434(this, globalCtx);
|
func_80A77434(this, globalCtx);
|
||||||
break;
|
break;
|
||||||
case 6:
|
case 7:
|
||||||
func_80A77474(this, globalCtx);
|
func_80A77474(this, globalCtx);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue