mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-21 10:42:07 +00:00
Implement PRINT and PRINTLN (#672)
Fixes #669 Closes #368 Closes #624 Deprecate PRINTT, PRINTV, PRINTI, and PRINTF Default STRFMT("%f") to 5 fractional digits like "{f:}" Any use of string formatting will share this default
This commit is contained in:
@@ -17,10 +17,8 @@ Constant2: ; Same as above
|
||||
|
||||
|
||||
print_diff: MACRO
|
||||
PRINTV (\1) - (\2)
|
||||
PRINTT "\n"
|
||||
PRINTV (\2) - (\1)
|
||||
PRINTT "\n"
|
||||
PRINTLN (\1) - (\2)
|
||||
PRINTLN (\2) - (\1)
|
||||
ENDM
|
||||
|
||||
POPS ; Ensure we are in neither section
|
||||
|
||||
Reference in New Issue
Block a user