Skip to content

Legacy: IsGameYYC routine

Archie_UwU edited this page Nov 19, 2023 · 1 revision

You are reading the documentation of YYToolkit Legacy (v2.x.x) - for documentation on current-gen YYTK, see the Homepage.


Checks if the game was made with YoYo Compiler.

Syntax

bool IsGameYYC();

Parameters

This function has no parameters.

Return Value

The function returns true if the game was compiled in YoYoCompiler (YYC).

Otherwise, the function returns false.

Remarks

This function returns false either when the game is compiled in VM bytecode or on error.

There is no way to know which happened, so it's recommended you change behavior only if the function returns true, and have VM-handling code otherwise.

This function can also be called with it's deprecated name, IsYYC(), although that functionality may be altered without prior notice anytime.

It is thus recommended to use IsGameYYC() instead of IsYYC().

Quick Access

Documentation

Writeups

Clone this wiki locally