Archive
Register | Login | Logout | Edit profile
Views: 1397612
Main | Memberlist | Calendar | Online users
Ranks | FAQ | Search | Photo album
11-13-07 11:42 PM
rustedmagick forums - Lunar Utopia - Enemy sprite counter? |
Next newer thread | Next older thread
User
Post
Kailieann
Bag of Stinky Weeds
Level: 5

Posts: 2/6
EXP: 397
For next: 132

Since: 11-10-05

Since last post: 725 days
Last activity: 267 days
Posted on 11-12-05 06:50 AMQuote
.

Image hosted by Photobucket.comBroken Records
Image hosted by Photobucket.comLavender Jade Comics
(what's left of them..)
Image hosted by Photobucket.comSMW Memory Map 2
Image hosted by Photobucket.comMP3 of the Week
Image hosted by Photobucket.comA game without a name
Image hosted by Photobucket.comPokemon Tools

Another fine post 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?

Image hosted by Photobucket.com
.
Smallhacker
Bag of Stinky Weeds
Local moderator
Level: 5

Posts: 4/7
EXP: 511
For next: 18

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

Since last post: 234 days
Last activity: 163 days
ICQ:
Posted on 11-12-05 01:17 PMQuote
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.

Kailieann
Bag of Stinky Weeds
Level: 5

Posts: 3/6
EXP: 397
For next: 132

Since: 11-10-05

Since last post: 725 days
Last activity: 267 days
Posted on 11-12-05 08:42 PMQuote
.

Image hosted by Photobucket.comBroken Records
Image hosted by Photobucket.comLavender Jade Comics
(what's left of them..)
Image hosted by Photobucket.comSMW Memory Map 2
Image hosted by Photobucket.comMP3 of the Week
Image hosted by Photobucket.comA game without a name
Image hosted by Photobucket.comPokemon Tools

Another fine post 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..

Image hosted by Photobucket.com
.
Smallhacker
Bag of Stinky Weeds
Local moderator
Level: 5

Posts: 5/7
EXP: 511
For next: 18

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

Since last post: 234 days
Last activity: 163 days
ICQ:
Posted on 11-13-05 03:22 AMQuote
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.

Kailieann
Bag of Stinky Weeds
Level: 5

Posts: 4/6
EXP: 397
For next: 132

Since: 11-10-05

Since last post: 725 days
Last activity: 267 days
Posted on 11-13-05 09:55 AMQuote
.

Image hosted by Photobucket.comBroken Records
Image hosted by Photobucket.comLavender Jade Comics
(what's left of them..)
Image hosted by Photobucket.comSMW Memory Map 2
Image hosted by Photobucket.comMP3 of the Week
Image hosted by Photobucket.comA game without a name
Image hosted by Photobucket.comPokemon Tools

Another fine post 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.

Image hosted by Photobucket.com
.
Next newer thread | Next older thread
rustedmagick forums - Lunar Utopia - Enemy sprite counter? |


rustedmagick.com

AcmlmBoard v1.8a BMF Hax0r Special™
© 2000-2002 Acmlm
Board additions/modifications by:
BMF54123
Tuvai




Page rendered in 0.919 seconds.