Raftronaut
Member
I was having some trouble with the animated-end "Warp to" script bundled with 4.1.5, it was causing all sorts of input errors when the warp function engaged the cutscenes I had been working out. I posted my problem on the Facebook forums. Dale Coop assisted with the following script modfication, I simply replaced the script I had in my routines>basic>system>TimerEndScripts>Timer_WarpToNewScreen:
This script caused the music to reset between screen loads even if the song was the same. Dale then advised me to comment out the following lines:
This fix worked like a charm. now I have a new problem, as the warp is only allowing me to warp into screens vertical to my starting point. If I try to warp to a screen on the right or left the screen freezes.
Since this is a vertically scrolling shooter, i wold prefer my cutscenes to flow horizontally so I can preserve as much space for level design.
Any solutions for this?
Code:
;;warp to new screen
LDA warpMap
STA currentMap
CLC
ADC #$01
STA temp
GoToScreen warpToScreen, temp, #$02
LDA navFlag
ORA #%00000010
STA navFlag
LDX player1_object
; ChangeObjectState #$00, #$10
DeactivateCurrentObject
LDA #$01
STA loadObjectFlag
This script caused the music to reset between screen loads even if the song was the same. Dale then advised me to comment out the following lines:
Code:
LDA navFlag
ORA #%00000010
STA navFlag
This fix worked like a charm. now I have a new problem, as the warp is only allowing me to warp into screens vertical to my starting point. If I try to warp to a screen on the right or left the screen freezes.
Since this is a vertically scrolling shooter, i wold prefer my cutscenes to flow horizontally so I can preserve as much space for level design.
Any solutions for this?