Banner
Views: 705,589,209
Time:
10 users online: AbuseFreakHacker, anonimzwx, BullyWithAHat, Darolac, eric99333, FailSandwich, Pinci, PuzzelBreaker, SquidMan Raps, VLSkoot - Guests: 44 - Bots: 120Users: 36,860 (1,446 active)
Latest: jodu
Tip: Yoshi wings take you to level C8 or 1C8. Which one you get depends on the overworld level you're in.Not logged in.
Details for Wild Mechakoopa
SMW Sprites - Wild Mechakoopa
File Name: Wild Mechakoopa
Added:
Authors: Darolac
Tool: PIXI
Type: Standard
Dynamic: No
Disassembly: No
Includes GFX: No
Description: This Mechakoopa hops around with customisable period and maximum height. If the extra bit is set, the Mechakoopa will explode instead of recover after begin stunned.

Includes a lot of defines to customise:

-Custom palette for the extra bit version.

-Expanded palettes for the recovering animation (up to 8 different palettes).

-Customisable recovery time.

And a lot more. Check out the readme for the details

Based on imamelia's dissasembly of the Mechakoopa.
Tags: castle, enemy, mechakoopa
Rating: 0.0 (Votes: 0)
Download: Download - 4.48 KiB
93 downloads
Screenshots
Previous 
 Next
Sonikku
If you want a better method for facing Mario, I'd suggest replacing:
Code
if !Framesface == 1

LDA $C2,x	;
INC $C2,x	;
AND #$3F	; every 40 frames...
BNE NoSpeed	;

endif

%SubHorzPos()
TYA		; turn to face the player
STA $157C,x	;


This will cause the sprite to face Mario every #$40 frames, and run even when it is facing Mario. This means that if Mario jumps behind the sprite right when the timer becomes #$3F, it'll immediately turn to face him, which feels odd. I have rewritten this portion to make it fall more in line with the behavior of SMWs sprites with:

Code
%SubHorzPos()
if !Framesface != $00
LDA $163E,x	; \ branch if timer not set
BEQ CheckDir	; /
CMP #$01	; \ branch if timer not 1
BNE NoSpeed	; /
LDA $157C,x	; \
EOR #$01	;  | 
STA $157C,x	; /
CheckDir:
TYA		; \ branch if facing mario
CMP $157C,x	;  | 
BEQ NoSpeed	; /
LDA #!Framesface; \ set timer
STA $163E,x	; /
else
TYA		; \ set direction
STA $157C,x	; /
endif


This code will check if the sprite is already facing Mario, setting a timer when it isn't. When this timer hits #$01, it turns around. This allows the sprite to be slightly more predictable but still keeping the idea in place.

Additionally, it's unneeded and relatively easy for one to do themselves, but I'd recommend future-proofing this sprite by adding SA-1 and GIEPY support.
Posted by: o Sonikku -

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

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


Total queries: 28

Menu

Follow Us On

  • Facebook
  • Twitter
  • YouTube

Affiliates

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