Banner
Views: 778,986,521
Time:
10 users online:  bebn legg, chickaDEE Magazine, dfade, MarkVD100,  Meirdent, Pancake001, SiameseTwins,  Tahixham, The Hacking Yoshi, TomCube - Guests: 41 - Bots: 205 Users: 40,840 (1,676 active)
Latest: GoldenWarrior
Tip: The music in SMW's default castle/ghost house intros and boss battles can be changed by hex-editing. See $0584DB-$0584E2 in the ROM map.Not logged in.
Posts by Kyouken
Kyouken's Profile - Posts by Kyouken
Pages: « 1 2 3 4 5 6 »
(restricted)
(restricted)
(restricted)
(restricted)
(restricted)
I'd ask how one can live life without a cell phone, but, then again, I don't have one. I guess it's a good thing though.

--------------------
waiting for SMWC2 to come out since 1995
(restricted)
(restricted)
(restricted)
(restricted)
(restricted)
(restricted)
(restricted)
(restricted)
(restricted)
The patch I'm working with is the Powerups Hijack Patch by ICB. I have almost absolutely no idea what I'm doing, so bare with me.

This is the code:

LDA $0491E0 ;I'm pretty sure that's where the amount of coins are stored, not completely sure
CLC
ADC #$25 ;Whenever I add something, it either goes to J9 or K7
STA $0DBF ;I don't know where it is storing it too.
BRA RETURN

I don't know what I'm doing wrong here, but I have a clue - I either have the wrong address(es), or I'm storing it to the wrong place.
I've already tried just making the coin count 25, and that worked, but I want to add 25 to the current total. The main thing I don't understand is the absolute address up there, or absolute addresses at all. Can someone tell me what's up with the code?

--------------------
waiting for SMWC2 to come out since 1995
It pretty much does that, yes. And it probably would've been a good idea to check those addresses out first. I got $0491E0 from a patch that sets the coin count.

Well, I used $0DBF for both loading and storing, and it worked! The thing I had trouble with was the absolute address. ASM seems a bit clearer now, thank you!

--------------------
waiting for SMWC2 to come out since 1995
Something I should have mentioned: I've got a coin wallet effect going, but the total would've went over 99, so I'm not sure if it matters. So would I JUST put LDA #$25 STA $13CC?

--------------------
waiting for SMWC2 to come out since 1995
Oh. Cool. Thanks.

--------------------
waiting for SMWC2 to come out since 1995
I've beaten SMB2 countless times; however SMB:TLL... Never on the SNES, but once or twice on an emulator. >_<

--------------------
waiting for SMWC2 to come out since 1995
Pages: « 1 2 3 4 5 6 »
Kyouken's Profile - Posts by Kyouken

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

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


Total queries: 7

Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

  • Talkhaus
  • SMBX Community
  • GTx0
  • Super Luigi Bros
  • ROMhacking.net
  • MFGG
  • Gaming Reinvented