Making warp work in platform module

winkdot

New member
In the platform module I could not get a warp title to work. Seems the collision for warp was missing an instruction that made it work in the adventure module. I added the CLC instruction and zing it worked. The working asm looks like this.

cpx player1_object
BNE dontDoWarp_tile
LDA warpMap
; the CLC instruction missing in the platform module.
clc
adc #$01
STA temp
GoToScreen warpToScreen, temp

dontDoWarp_tile
 
Top Bottom