stevenshepherd
New member
Pretty much what the subject says: When monster hits a warp tile, I get warped out of the room. not sure if I am doing something wrong or if this is just a beta bug/something that isn't ironed out yet.
;;;WARP TO SCREEN
;; the screen to warp to is set in screen info
CPX player1_object
BNE skipWarp
LDA #%11000000
;7 = active
;6 = 8 or 16 px tiles
ORA #GS_MainGame
ORA #%01000000
STA update_screen
LDA #%00000001
STA update_screen_details ;; load from map 1
LDA warpToScreen
STA newScreen
STA currentScreen
LSR
LSR
LSR
LSR
LSR
STA screenBank
LDA #$02
STA screen_transition_type
LDA #$01
STA tile_solidity
LDA #$00
STA gameHandler
skipWarp:
LDA #$01
STA tile_solidity