Ciento Dos Huevos
Script:
Snes9X-rr:
http://pastebin.com/GF6de9pa
Bizhawk:
http://pastebin.com/3ryNee7P
Emulators:
Snes9X-rr:
http://code.google.com/p/snes9x-rr/downloads/list
Bizhawk:
http://code.google.com/p/bizhawk/downloads/list


There's dynamic code between enemies and each of these subroutines per enemy determines their 'active state', an example of loading these dynamic routines:
So unfortunately it'd be extremely time consuming to go through each enemy function and determine how each works. However, projectile immunity was universal so I was able to implement that and anything projectile immune has a crosshair going through the box. So the result of this is bogus boxes at some points, but for 95% of the game, it works fine.
Snes9X-rr:
http://pastebin.com/GF6de9pa
Bizhawk:
http://pastebin.com/3ryNee7P
Emulators:
Snes9X-rr:
http://code.google.com/p/snes9x-rr/downloads/list
Bizhawk:
http://code.google.com/p/bizhawk/downloads/list


There's dynamic code between enemies and each of these subroutines per enemy determines their 'active state', an example of loading these dynamic routines:
Code:
c20031 lda $0a [0019ca] A:0200 X:0001 Y:0000 S:0136 D:19c0 DB:80 nvMXdiZc V:242 H: 268 ; Load enemy base + 0xA c20033 and #$7f A:0254 X:0001 Y:0000 S:0136 D:19c0 DB:80 nvMXdizc V:242 H: 294 ; AND against 0x7F c20035 asl a A:0254 X:0001 Y:0000 S:0136 D:19c0 DB:80 nvMXdizc V:242 H: 306 ; Multiply by 2 c20036 tax A:02a8 X:0001 Y:0000 S:0136 D:19c0 DB:80 NvMXdizc V:242 H: 318 c20037 jsr ($004b,x) [c200f3] A:02a8 X:00a8 Y:0000 S:0136 D:19c0 DB:80 NvMXdizc V:242 H: 330 ; This is dynamic per enemy c2ef7e ldx $01 [0019c1] A:02a8 X:00a8 Y:0000 S:0134 D:19c0 DB:80 NvMXdizc V:242 H: 382 c2ef80 jsr ($efe0,x) [c2efe2] A:02a8 X:0002 Y:0000 S:0134 D:19c0 DB:80 nvMXdizc V:242 H: 408 ; This is also dynamic per enemy
So unfortunately it'd be extremely time consuming to go through each enemy function and determine how each works. However, projectile immunity was universal so I was able to implement that and anything projectile immune has a crosshair going through the box. So the result of this is bogus boxes at some points, but for 95% of the game, it works fine.
Thread title:






