Parallel Worlds - Entrance change on condition

Go down

Parallel Worlds - Entrance change on condition Empty Parallel Worlds - Entrance change on condition

Post by Euclid Sat 20 Jul 2013 - 20:11

Instead of finding the spot to insert code again, let me put down what i did in PW. (entrance to the dungeon on the sky isles changes when you're in first quest/second quest)

The place to insert the code is the following:
$1B/BD5F BF 73 BB 1B LDA $1BBB73,x[$1B:BBA7] A:0034 X:0034 Y:091C P:envMxdizc
$1B/BD63 8D 0E 01 STA $010E [$00:010E] A:0033 X:0034 Y:091C P:envMxdizc

$10E contains the ENTRANCE number (see RAM map by MathOnNapkins) which link will enter in. If you branch from that bit of code and do something like the following:

If entrance is (entrance you want to change) and (condition) then
- store new entrance number into $010E
else
- STA $010E

you can change what entrance link goes to.
Euclid
Euclid

Parallel Worlds - Entrance change on condition Image212

Since : 2012-06-22

Back to top Go down

Parallel Worlds - Entrance change on condition Empty Re: Parallel Worlds - Entrance change on condition

Post by XaserLE Sat 20 Jul 2013 - 21:07

Thank you, saved :-).
I always thought you changed the room when going through an entrance and not changed the entrance when going to this overworld area that holds the entrance you want to change, interesting.

XaserLE

Parallel Worlds - Entrance change on condition Image111

Since : 2013-01-23

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum