Nav apraksta

quick_hacks.asm 1.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. EGG_HATCH_LEVEL EQU 1
  2. EV_CAP EQU 252
  3. PLAYER_S_X EQU 0x0
  4. PLAYER_S_Y EQU 0x29
  5. PLAYER_S_B EQU 0x6
  6. PLAYER_S_M EQU 0x2
  7. // Something //
  8. .org 0x080441D6
  9. .byte 0x0
  10. .org 0x08125AA8
  11. .byte 0x0
  12. // Change hatch level of new pokémon //
  13. .org 0x081375B0
  14. .byte EGG_HATCH_LEVEL
  15. .org 0x08046CBE
  16. .byte EGG_HATCH_LEVEL
  17. .org 0x0804623E
  18. .byte EGG_HATCH_LEVEL
  19. // Something //
  20. .org 0x0805BA3A
  21. .word 0x00000000
  22. // No flag check while in menu (moves) //
  23. .org 0x08124630
  24. .halfword 0xE012
  25. // Intro and Naming Hacking //
  26. .org 0x080EC5D0
  27. //.word 0x08078915
  28. .org 0x0800C4C8
  29. //.word 0x0800C608
  30. .org 0x08054A68
  31. //.halfword 0x4C3C
  32. //.halfword 0x6820
  33. //.halfword 0x4900
  34. //.halfword 0xE001
  35. //.word str_player_dummy_name
  36. .org 0x08054A7E
  37. //.halfword 0x4E34
  38. .org 0x08054B3A
  39. //.word 0x00000000
  40. .org 0x080439FC
  41. .byte EV_CAP
  42. .org 0x08043A02
  43. .byte EV_CAP
  44. // Critical hit chance table //
  45. .org 0x08250530
  46. .halfword 0x0010
  47. .halfword 0x0008
  48. .halfword 0x0002
  49. .halfword 0x0001
  50. .halfword 0x0001
  51. // Remove OAKs Text in Trainerbattle 0x9
  52. .org 0x08080484
  53. .word 0x00000000
  54. .word 0x00000000
  55. .org 0x08054A08
  56. .byte PLAYER_S_X
  57. .org 0x08054A00
  58. .byte PLAYER_S_Y
  59. .org 0x08054A04
  60. .byte PLAYER_S_B
  61. .org 0x08054A06
  62. .byte PLAYER_S_M
  63. .org 0x0807F5EC
  64. .word scr_whiteout_mom
  65. .org 0x0807F5CC
  66. .word scr_whiteout_center
  67. .org 0x080BFD54
  68. ldr r0, =whiteout_hook|1
  69. bx r0
  70. .pool
  71. .org 0x0812EB2C
  72. ldr r0, =settings_launch|1
  73. bx r0
  74. .pool