i want to reload the overworld with an button press and change the level destinations and if possible the level entry apparence. (from yellow dot to red dot e.g.).
I found two asm:
1: Level Depending On Ram Address
2: Bring Up Save Prompt by Pressing Start
I can use the patch 1 to change the level destination and works perfect. I should find an unused ram and use that. (it should be #$00 be default), but fpr testing i use $3019. (Mario small Level 1... Mario big Level 2)
Q1: Changes it also the behavior? e.g. the new Level shouldnt activate an event or the name needs to change aswell. There should be tables for this but I dont understand it.
That is an asm that changes level behavior. I will test it.
The second asm triggers when start is pressed. So i started here and changed it, i modified these two parts. It works and set the flag with start.
org $048383 ; swap action that happens when start was pressed
LDA $13D9|!addr ;\
CMP #$03 ; | don't do anything if not in a level tile
BNE + ;/
autoclean JSL save ; save some other ow stuff
But The overworld doesnt reload and so the destination dont change. (When i go into an level and get an shroom and leave it works.)
Q2: Is it possible to reload the overworld with a button press?
(maybe as a hack load a dummy level and instant leave it or so, just in and out this should also trigger the reload)
Q3: can i also change the palett and make the yellow level points to an red one.
Goal: I want to explain the stuff in my levels via training levels. The player hits a button and changes every level in its training part and back again. The overworld should change in color and the yellow point for level entry is now red.