Views: 828,942,209
12 users online: 7 up, AnasMario130, ExONightZ, katun24,  KevinM, OEO6, Oxidia, qantuum,  Telinc1,  Tob, XolifreX, YinYarn - Guests: 48 - Bots: 85 Users: 44,416 (2,519 active)
Latest: Flowtendo
Tip: If you're using the wall-running purple triangles in your hack, remember to add tile 1EB (or a tile that acts like tile 1EB) underneath it. Extended object 44/45 will include this tile for you.Not logged in.
Adventure Island - Fruit by RussianMan
Forum Index - Valley of Bowser - Moderation Questions - Sprites - Adventure Island - Fruit by RussianMan
Pages: « 1 »
File Name: Adventure Island - Fruit
Submitted: 2017-09-11 04:31:43 PM by RussianMan
Authors: RussianMan
Tool: PIXI
Type: Standard
Dynamic: No
Disassembly: No
Includes GFX: Yes
Description: It's an fruit from Adventure Island, it adds time to your timer when collected, appears and disappears after short period of time.

Credit is optional.
This sprite's SA-1 conversion was clearly rushed: not only the 9 timer addresses (whose use defines the main gimmick of the sprite) use the wrong !Base define, but the part of the sprite that makes use of multiplication register was completely overlooked, effectively not setting the timer as needed in SA-1 ROMs.

	LDA $0F32|!Base1	;get tens count
	STA $4202
	LDA #10
	STA $4203
	LDA $0F33|!Base1	;ones count plus...
	CLC			;carry need only be cleared one time
	ADC $4216		;...tens count

	LDY $0F31|!Base1	;hundreds count
	STY $4202
	LDY #100
	STY $4203

	REP #$20
	AND.w #$00FF		;get rubbish out of high byte
	ADC $4216

Please correct both of these issues to get this sprite accepted.
For reference regarding multiplication/division in SA-1, you can consult the detailed readme included with the SA-1 patch, which provides examples.
Pages: « 1 »
Forum Index - Valley of Bowser - Moderation Questions - Sprites - Adventure Island - Fruit by RussianMan

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

Total queries: 14


Follow Us On

  • YouTube
  • Twitch
  • Twitter


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