Count Script - add on game launch

rodrigotadeu

New member
I create a script to add 1 to each scrool
but I putted at handle scrool script.
I wanna a create a separeted script and launch it when the game start.
What I need to put in the begin of the file


;;; Increase Time
;;; Tadeu - 04/03/2019
;;; works with variable myVARIABLE
;;; works with HUD variable HUD_myVARIABLE.


TXA
STA tempx


AddValue #$08, myTimer, #$01, #$00
;arg0 = how many places this value has.
;arg1 = home variable
;arg2 = amount/value to add
;arg3 = to what place?

UpdateHud HUD_myTimer

LDX tempx
 
Top Bottom