(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
05-05-24 04:12 AM
0 users currently in ROM Hacking.
Acmlm's Board - I3 Archive - ROM Hacking - Enemy Sprite Counter (from LU) New poll | |
Add to favorites | Next newer thread | Next older thread
User Post
Kailieann



 





Since: 11-18-05

Last post: 6285 days
Last view: 6285 days
Posted on 11-18-05 12:22 AM Link | Quote
Originally posted by kailieann
I need a way to keep track of how many enemies are left in a level (I want a few levels where you have to defeat all the enemies in order to win).
Are there any known RAM addresses that keep track of sprites, either individually or as a group? Or am I going to have to put a new subroutine in for LevelASM to use?

And if the latter, does anyone have any suggestions on how to accomplish it?

Originally posted by smallhacker
I suggest making a block programmed to set a byte im RAM containing the amount of enemies in the level (the amount is in the block code, not read from the level) and adding an instruction to the enemy killing routine (may not work with all enemies, though) which decreases the sprite amount byte by 1.

Originally posted by kailieann
Hmmm...
Sounds like a plan.

Might help if I knew where the kill routine was in the rom. It's not on the list, and I know absolutely nothing about ASM tracing..

Originally posted by smallhacker
It can probably be found by adding a breakpoint to one of the (standard death routine) sprites' death settings byte (which you can find in MWR). I'll look for it if I get enough time left.

Originally posted by kailieann
Which leads us to the next problem...

What MWR says when I try to open it:
System Error &H8007007e (-2147024770). The specified module could not be found.

It's a conspiracy, I tell you. The universe does not want me hacking roms.


Anyone else have anything to add?


(edited by Kailieann on 11-20-05 01:36 PM)
Smallhacker

Super Koopa
I AM A Group Of Officially Frustrated Younglings, G.O.O.F.Y. MEMBER








Since: 11-17-05
From: Söderhamn, Sweden

Last post: 6287 days
Last view: 6285 days
Skype
Posted on 11-18-05 02:02 AM Link | Quote
I looked into the code, but I couldn't understand enough about it.
Deleted User
Banned


 





Since: 05-08-06

Last post: None
Last view: 6286 days
Posted on 09-21-06 02:11 AM Link | Quote
i'm gay


(edited by setz on 09-21-06 01:14 AM)
Add to favorites | Next newer thread | Next older thread
Acmlm's Board - I3 Archive - ROM Hacking - Enemy Sprite Counter (from LU) |


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.013 seconds; used 357.48 kB (max 421.25 kB)