暫無描述

npc_walk.asm 440B

123456789101112131415161718192021222324252627282930313233
  1. .org 0x08064540
  2. .word npc_walk_animations
  3. .org 0x08064584
  4. .word npc_walk_animations
  5. .org 0x080645B4
  6. .word npc_walk_animations
  7. .org 0x0805BBA8
  8. push {r4, lr}
  9. ldr r4, [sp, #8] //block role
  10. push {r4}
  11. ldr r4, =npc_get_walkable_status+1
  12. bl bxr4_npc_walk
  13. add sp, #4
  14. pop {r4}
  15. pop {r1}
  16. bx r1
  17. bxr4_npc_walk:
  18. bx r4
  19. .pool
  20. .org 0x0805B9E4
  21. ldr r1, =npc_run_hook|1
  22. bx r1
  23. .pool
  24. .org 0x080BD308
  25. ldr r1, =npc_bike_hook|1
  26. bx r1
  27. .pool