Advertisement
Guest User

Untitled

a guest
May 26th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.88 KB | None | 0 0
  1. 08024B74 - AI? Is a unit dived?
  2.  
  3. Building
  4. 080608CA - Do we have enough infantry? (02029D84)
  5. 080608D0 - Do we have enough infantry? (02029D86)
  6. 080608F2 - (02029D85) - NOP makes for infantry spam
  7. 08060A0A - (02029D8A) - How many APCs do we have?
  8. 08060AC4 - Has a unit to be built next been decided on (030046C0)
  9. 08060F1C - (02029D9F)
  10. 08060D6A - Build a recon?
  11.  
  12. 080607B4 - What unit is built next?
  13. 08042CC2 - Cost getter subroutine
  14. 080610E6 - Does the AI have enough money?
  15. -080619F7 bhi #0x8061156 (unsigned higher)
  16. 080610FE - Compares to 0x3F
  17. -bgt #0x8061156 (greater than or equal)
  18.  
  19. 0806110E - Stores at (030046C7)
  20.  
  21.  
  22. Acting
  23. 0805E014 - (02029D94) - Related to infantry movement?
  24. 0805E062 - (02029D8D) - Related to unit movement?
  25. 0805E06C - (02029D84) - Related to unit movement?
  26. 080625E8 - Cmp r0, 0x18? AI Cheatery?
  27. 08058946 - Compare Targetted unit UID to 0x18. Checks if it's a sub. If not, then it can just straight up attack even if it can't see it. Likely to affect the AI's actions in Fog of War, too.
  28.  
  29. Unknown
  30. 08060D92 (02029D87)
  31.  
  32. 02029C54 - AI Directives are 0xF long?
  33. 0857BA34 - Sami's 8 Infantry Directive?
  34. 0857BB64 - Sami's 7 Infantry AI Directive?
  35.  
  36. More AI Crap
  37.  
  38. Overarching AI subroutine seems to start at:
  39. 08061868
  40. Subroutines:
  41. 08061CDC - Seems to blank word aligned bytes at around 03004100, 0x5B times
  42.  
  43. 08061CF8 - Seems to compare the AI player's alliances
  44.  
  45. 08051F34 - Something to do with the map
  46. 080270C - Something to do with the map
  47.  
  48. 08061A40 - Does some elaborate pointer calculating and then saves a bunch of values loaded from ROM and saved in ram, CO dependent (02029C54 and 087ABF4 for Andy), adds 0x10 to both pointers and then repeats. Increments pointers by C and repeats about 15 times. (Is run twice)
  49.  
  50. 08062028 -
  51.  
  52.  
  53. 08062964
  54. -Seems to compare how much damage will be done to a target
  55.  
  56. --AI Related
  57. 08061B06
  58. 08020DD8
  59. 080426DC
  60. 0805D726
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement