UnderminersTeam / UndertaleModTool

The most complete tool for modding, decompiling and unpacking Undertale (and other GameMaker games!)
GNU General Public License v3.0
1.12k stars 213 forks source link

"Invalid double number format" error with valid GML upon attempting to compile #485

Closed Grossley closed 3 years ago

Grossley commented 3 years ago

This var xx = x - (obj_camera.x-room_width/2)*.01*i fails to compile properly because of ".01", which should be treated as "0.01" (as GameMaker Studio does) instead of throwing an error. ".01" is valid in GameMaker Studio and should be implemented in the compiler.

Grossley commented 3 years ago

Same issue with draw_set_alpha(.4), it is valid GML but the compiler throws the "Invalid double number format" error.