Skip to content

Clearing face on main interpreter event load/end only half-working #2432

Open
@CherryDT

Description

@CherryDT

I recently analyzed an issue someone had with RM2k3 where the existence of an autorun event would cause a face graphic set by a parallel process event not to be displayed.

This is because RM clears the face graphic when the main interpreter (for autostart/action-key/touch events, not parallel processes) either loads a new event script or ends execution of an event script (the intention being that faces are scoped to an event, according to the help file - but with faces actually being global, the implementation isn't accurately following that intention). See also: https://www.multimediaxis.de/threads/71-Detail-Wissen-und-Geheimnise-des-RPG-Makers-vorallem-f%C3%BCr-Erfahrene-Profis-lehrreich?p=3407454#post3407454

Since this was pretty obscure and I hadn't known about this before, I decided checking what EasyRPG does there.

I discovered that clearing the face graphic at the end of the event works, but clearing it when loading a new event script into the main interpreter kinda "half-works" - it does clear the face setting, but on the current messagebox the face still gets drawn once, even though the text is already shifted to start at the very left, causing an overlap:

image

Expected result as per RPG_RT: Face is not drawn.

Here is the demo project: https://cherryshare.at/f/ElLtXw/Project1.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions