Language…
19 users online: 1UPdudes, Abstract, CharlieUltra, dashlet, Dennsen86, DixyNL,  Eden_, GiraffeKiller, Golden Yoshi, Hammerer, JezJitzu,  MarioFanGamer, Metal-Yoshi94, MorrieTheMagpie, mtheordinarygamer, Papangu, rafaelfutbal,  Segment1Zone2, TheOrangeToad - Guests: 277 - Bots: 447
Users: 64,795 (2,369 active)
Latest user: mathew

Downwards-flowing waterfall - By Alcaro

Name: Downwards-flowing waterfall
Author & Submitted by: Alcaro
Description: This block pushes Mario down if he stands on it for too long. It also creates some splashing water around Mario's feet.
The waterfall tiles should be placed like this, where the yellow tile is the "above" tile and the blue one is the actual waterfall tile.
Requested by xlk.

Reason of removal:
Code
Splash:
LDY #$0B
.Loop
LDA $17F0,y
BEQ .Found
DEY
BPL .Loop
RTS

.Found
LDA $D3
CLC
ADC #$18
STA $17FC,y
LDA $D1
STA $1808,y
LDA $D2
STA $18EA,y
LDA #$07
STA $17F0,y
LDA #$12
STA $1850,y
RTS


This alters the Y index and doesn't actually preserve it.
I hope you know that the Y index is in fact used for the high byte of the Map16 tile number.
This now broke the block, as, when I touch theblock.asm, it turns into tile 125.

Unless I totally misunderstood something, this bug seems obvious to me. Here are the pictures:




The yellow block is thetileaboveit.asm - the blue block is theblock.asm.
--------> Don't follow "Find Roy's Dignity", my hack. Because it's pretty outdated. <--------