Language…
13 users online: AJ1Ayrton,  Anorakun, CONLUSH666, Cote de Boeuf, Diedi Altieri, Green,  Hazel, Hot Sauce, Josuke Yoshikage, Josyenew, Lyfuh,  Segment1Zone2, YoungsVideos44 - Guests: 138 - Bots: 99
Users: 69,639 (2,519 active)
Latest user: Geoffre54321

Lantern

SMW Sprites → Lantern

Submission Details

Name: Lantern
Author: wiiqwertyuiop
Added:
Tool: PIXI
Type: Standard
Dynamic: No
Disassembly: No
Includes GFX: No
Description: When this sprite spawns, it will decrease the screen brightness to a configurable amount. When it's shot by a fireball (Mario's or Yoshi's), it will light up for a short amount of time. If the extra bit is set, it will never go out.

Check the ASM file for configuration options.

Based on the lanterns in Legend of Zelda: A Link to the Past. Demonstration video.
Tags: brightness fire fireball lantern light lorom pacifist sa-1
Comments: 2 (jump to comments)
Rating:
0.0 (0 ratings)
No rating
Download 1.84 KiB | 923 downloads

Screenshots

Comments (2)

 Telinc1 Link
Converted to PIXI and added SA-1 compatibility. The issue GHB mentioned has been fixed.
HammerBrother Link
Something's wrong here:

Code
LDY #$0A		;\
Loop:			; |
LDA $170B,y		; | Set up loop to check for mario fireballs, and Yoshi fireballs
CMP #$05		; |
BEQ AreWeHit		; |
CMP #$11		; |
BEQ AreWeHit		; |
BackToLoop:		; |
DEY			; |
BPL Loop		;/
RTS


Extended sprite tables are 10 (decimal) bytes long, but slot 0 is included as a valid slot. Therefore, #$0A is the 11th slot.