ClementSparrow / Pattern-Script

Open Source HTML5 Game Engine based on PuzzleScript
20 stars 2 forks source link

Relative direction tags not working in `copy:` instructions #40

Open ClementSparrow opened 2 years ago

ClementSparrow commented 2 years ago

Something like:

ObjA:directions
blue
copy: ObjB:< shift:<:1

Should work but does not (and the error message is not appropriate).

I think it's just a question of replacing reg_tagged_name with reg_maptagged_name in case 4 of tokenInObjectsSection, but this needs some testing.

May be related to #29 and #30.

ClementSparrow commented 2 years ago

See also commit e544a4e0d38e698597cf41bf1f073c8a240be154