Banner
Views: 838,005,908
Time:
25 users online:  Anorakun, BtotheFourth, DaHitmenGuy, Dispace,  E-man38, FireSeraphim, Froger, gaminggiga, GeneSu730, gmdKowa, Infinity,  JamesD28, jc5500, K3fka,  Koopster, Mr. Pixelator, P1JDS, QuikSenS, Qwerty13x, Redwykelz, SammmUuU, Sparkle-And-Syro,  Tamaki,  Thomas, Ultima - Guests: 54 - Bots: 53 Users: 45,834 (3,405 active)
Latest: DocBreeb
Summer C3 2020 Content Spotlight
Darolac's "Of Jumps and Platforms" Hack Release!
Not logged in.
A very specific "problem" of sorts with the Super Status Bar and the All Yoshi Coins patches...
Forum Index - SMW Hacking - SMW Hacking Help - ASM & Related Topics - A very specific "problem" of sorts with the Super Status Bar and the All Yoshi Coins patches...
Pages: « 1 »
So I've been trying to make both the Super Status Bar and All Yoshi Coin patches work together, so when I have all coins collected, it can display as such on the status bar. However since the latter patch modifies that status bar, it isn't quite friendly with the former patch. The issue would be when I collect all coins, it does not update the Super Status Bar, not even upon re-entering a level. I've tried countless things, and I was informed that the first patch could be modified in some way to make it work, yet I've had no success. If someone could help your local inexpert hacker here it would be greatly appreciated.
even if i'm still gonna try to do research on this i'd still love help so. bump.
You could try asking here.

Click the character on the right side of my layout to visit my Discord server and discuss and play and look at and get updates and sneak peeks of the games and other things I'm making.

The authors of these 2 My Little Pony fan games have removed their games from the Internet.
Rise of the Clockwork Stallions has been updated! Download My Little Pony: Rise of the Clockwork Stallions DX: Director's Cut and My Little Pony: Magic Shards now! Spread this link!

Originally posted by DPBOX
You could try asking here.

i have but so far no one who replied could really figure it out yet.
also bump i guess.
Originally posted by tonytoners
So I've been trying to make both the Super Status Bar and All Yoshi Coin patches work together

Ctrl+F and search for "CODE_008FDB" - the code we're looking to edit is originally as follows:

Code
CODE_008FD8:	LDA $1422+!addr	;>yoshi coins
CODE_008FDB:	CMP #$05
CODE_008FDD:	BCC CODE_008FE1
CODE_008FDF:	LDA #$00
CODE_008FE1:	DEC A
CODE_008FE2:	STA $00
CODE_008FE4:	LDX #$00
CODE_008FE6:	LDY #!TILE_EMPTY
CODE_008FE8:	LDA $00
CODE_008FEA:	BMI CODE_008FEE
CODE_008FEC:	LDY #!TILE_FULL
CODE_008FEE:	TYA
CODE_008FEF:	STA !RAM_BAR+!DRAGON_OFFSET,X
CODE_008FF2:	DEC $00
CODE_008FF4:	INX
		INX
CODE_008FF5:	CPX #$08
CODE_008FF7:	BNE CODE_008FE6
	endif ;>end of yoshi coins
		PLB
		JML $008FF9	; return

Make the following changes, colored + bolded:

Code
CODE_008FD8:	LDA $1422+!addr	;>yoshi coins
CODE_008FDB:	CMP #$05
CODE_008FDD:	BCC CODE_008FE1
CODE_008FDF:	BRA AllDragonCoins
CODE_008FE1:	DEC A
CODE_008FE2:	STA $00
CODE_008FE4:	LDX #$00
CODE_008FE6:	LDY #!TILE_EMPTY
CODE_008FE8:	LDA $00
CODE_008FEA:	BMI CODE_008FEE
CODE_008FEC:	LDY #!TILE_FULL
CODE_008FEE:	TYA
CODE_008FEF:	STA !RAM_BAR+!DRAGON_OFFSET,X
CODE_008FF2:	DEC $00
CODE_008FF4:	INX
		INX
CODE_008FF5:	CPX #$08
CODE_008FF7:	BNE CODE_008FE6
	endif ;>end of yoshi coins

EndDragonCoin:
		PLB
		JML $008FF9	; return


		AllDragonCoins:

		LDA #$0A
		STA !RAM_BAR+!DRAGON_OFFSET
		LDA #$15
		STA !RAM_BAR+!DRAGON_OFFSET+2
		STA !RAM_BAR+!DRAGON_OFFSET+4
		LDA #$2E
		STA !RAM_BAR+!DRAGON_OFFSET+6
		BRA EndDragonCoin

Noting the BRA .All, the .EndDragonCoin label, and the new code blurb at the bottom. Note that this fix assumes the Advanced version of the status bar, and !Enable_DRAGON must be set to = 1 in the defines file.

Untested, but shouldn't break anything - feel free to report back if anything blows up.

[EDIT - Fixed the labels because I'm dumb.]

[EDIT 2 - Removed unnecessary indexing, for the same reason.]
Pages: « 1 »
Forum Index - SMW Hacking - SMW Hacking Help - ASM & Related Topics - A very specific "problem" of sorts with the Super Status Bar and the All Yoshi Coins patches...

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

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


Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

  • Super Mario Bros. X Community
  • ROMhacking.net
  • Mario Fan Games Galaxy