luckytyphlosion

pokecrystal home/ directory refactoring.

Dec 16th, 2018
129
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. === Legend ==
  2. ? unsure
  3. ~ file does not have much direction
  4. ! confident move
  5. - "RTC/wSpriteUpdatesEnabled" relabelling
  6.  
  7. === home/ fixes ===
  8. ? clear_sprites.asm -> functions/clear_sprites.asm
  9. copy_name.asm -> functions/copy_name.asm
  10. -> functions/copy_string.asm
  11. -> move to home.asm
  12. copy_tilemap.asm -> functions/copy_tilemap.asm
  13. -> functions/tilemap_backup.asm
  14. -> functions/backup_tilemap.asm
  15. -> functions/backup_restore_tilemap.asm
  16. ~ flag.asm -> add debug flag code right after
  17. ~ map_objects.asm -> unsure, keep for now, probably needs a dedicated PR to fix it
  18. ~ mon_data.asm, mon_data_2.asm -> move to home.asm
  19. -> move Unreferenced_GetNthMove to home.asm
  20. -> move GetBaseData to:
  21. -> base_data.asm
  22. -> get_base_data.asm
  23. -> move GetCurNick + GetNick to:
  24. -> get_mon_attribute_1.asm
  25. -> functions/get_mon_nick.asm
  26. -> get_mon_nick.asm
  27. -> home.asm
  28. -> move GetPartyParamLocation + GetPartyLocation to:
  29. -> functions/get_mon_param(_2).asm
  30. -> home.asm
  31. -> move Unreferenced_GetDexNumber to home.asm
  32. ~ mon_stats.asm -> move to home.asm
  33. movement.asm -> move menu related code to another file or to home.asm
  34. -> rename movement.asm to:
  35. -> scripted_movement.asm
  36. -> apply_movement.asm
  37. ! print_text.asm -> move PrintLetterDelay to print_letter_delay.asm, move other functions to home.asm
  38. -> move print_text.asm to home.asm
  39. ! region.asm -> move to home.asm
  40. -> move to functions/is_in_johto.asm
  41. -> rename IsInJohto to CheckRegion, and rename region.asm to:
  42. -> check_region.asm
  43. -> functions/check_region.asm
  44. -> move to home.asm
  45. - rtc.asm
  46. ~ scrolling_menu.asm -> move JoyTextDelay_ForcehJoyDown out of scrolling_menu.asm
  47. -> move scrolling_menu.asm to home.asm
  48. -> JoyTextDelay_ForcehJoyDown is related to "pad selection" (quantity selector, time menu)
  49. ! sprite_anims.asm -> move PushLYOverrides to home.asm
  50. - sprite_updates.asm
  51. ! string.asm -> move to home.asm
  52. ~ tilemap.asm -> unsure, keep for now
  53. ! time.asm -> rtc.asm after "RTC/wSpriteUpdatesEnabled" relabelling
  54. ! trainers.asm -> map_trainers.asm
  55. -> trainer_engage.asm
  56. ~ window.asm -> unsure, keep for now
RAW Paste Data