After comming back from school, I was thinking in a way to unbland my BG... so I created a Layer 3 BG.
How it looks? Well, you can see in this screenshot:
"Oh boy, the clouds are in front of Layer 2... damn"
After some searchs, I found this thread. And I found this code:
"Yahoo! Clouds behind Layer 2! But wait... some sprites are hiding in Layer 2, but this can be fixed with IceMan's HDMA Pack... I think. And it lacks Horizontal and Vertical scrolling..."
I found this another code, in the same thread:
And at the end, my Layer 3 GFX desappeared and showed a weird Status Bar copy... (No, I'm not using Sprite Status Bar.)
What is causing this problem?
(Also, if it matters, I'm using LevelASMTool; http://pastebin.com/u0AMGYUy)
How it looks? Well, you can see in this screenshot:
"Oh boy, the clouds are in front of Layer 2... damn"
After some searchs, I found this thread. And I found this code:
Code
LDA #$17 STA $212C
"Yahoo! Clouds behind Layer 2! But wait... some sprites are hiding in Layer 2, but this can be fixed with IceMan's HDMA Pack... I think. And it lacks Horizontal and Vertical scrolling..."
I found this another code, in the same thread:
Code
REP #$20 ;Make A 16 bits wide LDA $1462 ;Load the layer 1 x position LSR ;Divide by 2. LSR ;If you use ASL (multiply by 2) instead the background will scroll faster than the foreground. STA $22 ;Store to the layer 3 x position LDA $1464 ;Load the layer 1 y position LSR ;Same as above, but vertically. LSR SEC SBC #$0038 STA $24 ;Store to the layer 3 y position SEP #$20 ;Make A 8 bits wide
And at the end, my Layer 3 GFX desappeared and showed a weird Status Bar copy... (No, I'm not using Sprite Status Bar.)
What is causing this problem?
(Also, if it matters, I'm using LevelASMTool; http://pastebin.com/u0AMGYUy)