Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 08024B74 - AI? Is a unit dived?
- Building
- 080608CA - Do we have enough infantry? (02029D84)
- 080608D0 - Do we have enough infantry? (02029D86)
- 080608F2 - (02029D85) - NOP makes for infantry spam
- 08060A0A - (02029D8A) - How many APCs do we have?
- 08060AC4 - Has a unit to be built next been decided on (030046C0)
- 08060F1C - (02029D9F)
- 08060D6A - Build a recon?
- 080607B4 - What unit is built next?
- 08042CC2 - Cost getter subroutine
- 080610E6 - Does the AI have enough money?
- -080619F7 bhi #0x8061156 (unsigned higher)
- 080610FE - Compares to 0x3F
- -bgt #0x8061156 (greater than or equal)
- 0806110E - Stores at (030046C7)
- Acting
- 0805E014 - (02029D94) - Related to infantry movement?
- 0805E062 - (02029D8D) - Related to unit movement?
- 0805E06C - (02029D84) - Related to unit movement?
- 080625E8 - Cmp r0, 0x18? AI Cheatery?
- 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.
- Unknown
- 08060D92 (02029D87)
- 02029C54 - AI Directives are 0xF long?
- 0857BA34 - Sami's 8 Infantry Directive?
- 0857BB64 - Sami's 7 Infantry AI Directive?
- More AI Crap
- Overarching AI subroutine seems to start at:
- 08061868
- Subroutines:
- 08061CDC - Seems to blank word aligned bytes at around 03004100, 0x5B times
- 08061CF8 - Seems to compare the AI player's alliances
- 08051F34 - Something to do with the map
- 080270C - Something to do with the map
- 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)
- 08062028 -
- 08062964
- -Seems to compare how much damage will be done to a target
- --AI Related
- 08061B06
- 08020DD8
- 080426DC
- 0805D726
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement