diff options
author | pikalaxalt <PikalaxALT@gmail.com> | 2016-05-27 12:32:34 -0400 |
---|---|---|
committer | pikalaxalt <PikalaxALT@gmail.com> | 2016-05-27 12:32:34 -0400 |
commit | 2b96f4165f01fb41cb8c302a8da9d9a3131ab92e (patch) | |
tree | 8962d9131bd0acca036de46ca1f4810c4760c410 /home.asm | |
parent | 2a0e32ee4e0cd1d432ecb8da822e6b798d6a13c2 (diff) |
Vermilion City scripts
Diffstat (limited to 'home.asm')
-rw-r--r-- | home.asm | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -2441,7 +2441,7 @@ RunNPCMovementScript:: ; 30ae (0:30ae) ld a, [wNPCMovementScriptBank] call BankswitchCommon ld a, [wNPCMovementScriptFunctionNum] - call CallFunctionInTable + call JumpTable pop af call BankswitchCommon ret @@ -2484,7 +2484,7 @@ ExecuteCurMapScriptInTable:: ; 30fc (0:30fc) .useProvidedIndex pop hl ld [W_CURMAPSCRIPT], a - call CallFunctionInTable + call JumpTable ld a, [W_CURMAPSCRIPT] ret @@ -4690,8 +4690,7 @@ endm ret -CallFunctionInTable:: ; 3d93 (0:3d93) -JumpTable:: +JumpTable:: ; 3d93 (0:3d93) ; Call function a in jumptable hl. ; de is not preserved. push hl |