Fixed fake world handling for IB transitions
This commit is contained in:
@@ -632,7 +632,7 @@ OWShuffle:
|
|||||||
;offset is (8bytes * OW Slot ID) + (2bytes * direction)
|
;offset is (8bytes * OW Slot ID) + (2bytes * direction)
|
||||||
asl : rep #$20 : and.w #$00ff : pha : sep #$20 ;2 bytes per direction
|
asl : rep #$20 : and.w #$00ff : pha : sep #$20 ;2 bytes per direction
|
||||||
|
|
||||||
lda $8a : tax : lda.l OWTileWorldAssoc,X : eor.l CurrentWorld : beq +
|
ldx $8a : lda.l OWTileWorldAssoc,X : eor.l CurrentWorld : beq +
|
||||||
; fake world, will treat this OW area as opposite world
|
; fake world, will treat this OW area as opposite world
|
||||||
txa : eor.b #$40 : tax
|
txa : eor.b #$40 : tax
|
||||||
+ txa : and #$40 : !add $700 : rep #$30 : and #$00ff : asl #3
|
+ txa : and #$40 : !add $700 : rep #$30 : and #$00ff : asl #3
|
||||||
|
|||||||
Reference in New Issue
Block a user