mirror of https://github.com/jeremysrand/BuGS.git
Add some comments about the lack of checking of a score "overflow".
This commit is contained in:
parent
a1b4013e1c
commit
99c7d98998
|
@ -96,6 +96,15 @@ scoreStartGame entry
|
|||
|
||||
|
||||
; The score tile to increment is in the X register
|
||||
; Note that this function and the next one do no sanitization
|
||||
; of the value in the X register. That also means that if
|
||||
; someone scores several trillion in a single game, we will
|
||||
; keep adding digits to the score displayed, eventually
|
||||
; occupying tiles on the previous line on the LHS.
|
||||
;
|
||||
; But it is kind of classic for these arcade games to act
|
||||
; weird if people do something deemed impossible by the
|
||||
; author. So, I challenge you to get such a score!
|
||||
scoreAddOneToTile entry
|
||||
_dirtyNonGameTile
|
||||
lda tileType,x
|
||||
|
|
Loading…
Reference in New Issue