Views: 931,792,136
22 users online:  AmperSam,  Anorakun, Beakstore, Fryinb, FYRE150, Hooded Edge,  idol, Infinity, JupiHornet, KevinM, Klug, Mapping_bl, Marcozzo Daro, MarioriaM, MassPunishment, mjlebo,  Nameless, norwegianboyee, onceforever, orka-bln, playagmes169, TwistC - Guests: 91 - Bots: 184 Users: 52,017 (2,085 active)
Latest: goku86
Tip: If you want to remove patches from your ROM, it is best to either use the restore function, or port everything to a clean ROM.
Not logged in.
I need help finding addresses for star and score-related tweaks
Forum Index - Non-SMW Hacking - Yoshi's Island Hacking - I need help finding addresses for star and score-related tweaks
Pages: « 1 » Link
Recently, I've been spending some time digging through the YI disassembly and tweaking bits of Yoshi's Island. Right now, I'm focused on changing the way stars work.

I'm using the Empty Nest patch and I'm also reducing the amount of stars the player can carry to 3. When the player gets hurt by an enemy, they will lose 1 star. This is meant to act as a 3 hit system. I might increase the amount of health the player has if 3 hits ends up being too hard. I've tried to figure out as much as I could to make these modifications work, but I'm a little stuck with a few things.

tl;dr: I am looking for assistance with making the following modifications:

• Watermelon seeds should NOT turn certain enemies (like mousers) into stars when they get hit. I would like for it to either turn enemies into coins or spawn no sprite at all. Which address controls this?
   • Watermelon seed main routine starts at SNES address $01AE19. I did a ctrl+F search for LDA #$01A2, which would be the star sprite being loaded. Can't find it, so I probably have to look for something else.

• How can I change the palette of the stars? I want them to be colored red so I can change the graphic to a little heart.
   • Sprite OAM attributes start at SNES address $0A9F1A, but it's a big sea of numbers in the disassembly, making it hard to figure out what to modify.

• I've made it so that stars no longer matter in the score tally. 71 points is the amount you need to get 100% on a level. This means you can 100% a stage even if you don't have the max available stars (3). However, now a player can have 20 red coins, 5 flowers, and 1 star. That means the player is shown to have 71 points on the pause screen, but confusingly, the player's score will jump from 71 to 100 on the "level complete" score tallying screen. This feels weird and confusing, and I'm not so sure how to fix this.
   • Helpful post by tehaxor69 about modifying the score system:

• Not as important, but I want the star counter number to be yellow when the number is 3 or 2. It should only turn red when it is at 1. Which address controls the star counter number's color? Right now, the star counter number is always red.

This is what I've got modified and working in my ROM so far:

Ideally, winged clouds and middle rings should be the only source of stars/health. I may end up changing my mind and giving more opportunities for stars as I develop my Yoshi game, but that's what I've decided on for now. Also, I haven't changed the behaviors of any of the bonus game items yet. I might disable them entirely.

Here is my hex edit patch so far. I'm trying to make it clean and organized, but it's still a bit messy, and not everything I want is added in yet.

Wow, this ended up kind of wordy. Hope there's someone out there who knows what to modify. I'd be grateful for any assistance here. Thanks :D
Pages: « 1 » Link
Forum Index - Non-SMW Hacking - Yoshi's Island Hacking - I need help finding addresses for star and score-related tweaks

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2021 - SMW Central
Legal Information - Privacy Policy - Link To Us


Follow Us On

  • YouTube
  • Twitch
  • Twitter


  • Super Mario Bros. X Community
  • Mario Fan Games Galaxy
  • sm64romhacks