暂无描述

overworld.asm 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. .org 0x0805E5D4
  2. bx r1
  3. .org 0x0805E5F4
  4. .word overworld_h_one+1
  5. .org 0x0805F2C8
  6. ldr r1, =npc_get_type+1
  7. bx r1
  8. .pool
  9. .org 0x0805e152
  10. mov r1, #5
  11. orr r0, r1
  12. strb r0, [r4]
  13. ldrb r0, [r5, #3]
  14. strb r0, [r4, #0x1A]
  15. /*.org 0x0805E510
  16. ldr r1, =overworld_h_two+1
  17. bx r1
  18. .pool*/
  19. .org 0x0805E744
  20. lsl r4, r4, #0x10
  21. lsr r4, r4, #0x10
  22. lsl r5, r5, #0x10
  23. lsr r5, r5, #0x10
  24. mov r0, #0x0
  25. str r0, [SP, #0x20]
  26. mov r1, r9
  27. ldrb r0, [r1, #0x1]
  28. ldrb r1, [r1, #0x3]
  29. lsl r1, r1, #0x18
  30. lsr r1, r1, #0x10
  31. orr r0, r1
  32. .org 0x0805e964
  33. ldr r4, =overworld_h_three+1
  34. bx r4
  35. .pool
  36. .org 0x0805E8F0
  37. lsl r0, #0x10
  38. lsr r0, #0x10
  39. .org 0x0805ee84
  40. bx r1
  41. .org 0x0805EFE4
  42. .word overworld_h_four+1
  43. .org 0x08067A12
  44. ldr r5, =overworld_h_five+1
  45. bx r5
  46. .pool
  47. .org 0x08067F92
  48. ldr r5, =overworld_h_six+1
  49. bx r5
  50. .pool
  51. .org 0x0805F4D8
  52. .word ow_pal_table
  53. .org 0x0805F570
  54. .word ow_pal_table
  55. .org 0x0805F2F4
  56. .word ow_pal_table
  57. .org 0x0805F5C8
  58. .word ow_pal_table
  59. .org 0x0805F4D4
  60. .halfword 0x13FF
  61. .org 0x0805F5CC
  62. .halfword 0x13FF
  63. .org 0x0805F5D2
  64. lsl r0, r0, #0x10
  65. lsr r2, r0, #0x10
  66. .org 0x0805F548
  67. lsl r0, r0, #0x10
  68. .org 0x0805F54C
  69. lsr r0, r0, #0xD
  70. .org 0x0805F4BA
  71. lsl r0, #0x10
  72. lsr r1, r0, #0x10
  73. .org 0x0806837C
  74. ldr r3, =grass_step_general+1
  75. bx r3
  76. .pool
  77. .org 0x080683C8
  78. ldr r3, =grass_step_elastic+1
  79. bx r3
  80. .pool
  81. .org 0x08083484
  82. .word oe_effect_table
  83. .org 0x0805F5CC
  84. .halfword 0xC3FF
  85. .org 0x0805F634
  86. .halfword 0xC3FF
  87. .org 0x0805F6AC
  88. .halfword 0xC3FF