MZ imagename scriptcall equivalent for MV (Solved)

With some help. I've managed to make a neat picture changing common event for my game that will let players change an image during dialogue. However, right now we're stuck because the code they used to make it work is from MZ. And while 90% of it works. a part doesn't and without that it won't be usable. The script in question is:
◆Script:$gameScreen.showPicture(1, 'c_' + $gameVariables.value(0001), 0, 0, 0, 100, 100, 255, 0);

Everything but $gameVariables.value(0001) seems to work. I guess it's an engine change from V to Z. Hoping someone here has some idea.
example1.png

example2.png

example3.png
0033 is interpreted as octal, i.e. you're actually reading the value of game variable ID 27.

Remove the leading zeroes, e.g.

$gameScreen.showPicture(9, 'c_' + $gameVariables.value(33), 0, 0, 0, 100, 100, 255, 0);
👋
value(0001)
this has nothing to do with your problem, but is extremely important everywhere else:

NEVER use leading zeroes in script commands!!!

The correct use would be value(1)

The reason is that two leading zeroes will be interpreted as a command to use the octal numbering.
0023 octal would be read as 19 decimal - meaning nthat higher IDs than 7 will cause problems.

EDIT: ninja'd
this has nothing to do with your problem, but is extremely important everywhere else:

NEVER use leading zeroes in script commands!!!

The correct use would be value(1)

The reason is that two leading zeroes will be interpreted as a command to use the octal numbering.
0023 octal would be read as 19 decimal - meaning nthat higher IDs than 7 will cause problems.

EDIT: ninja'd
Ah, thank you I just tested it and its working!

Original thread: https://forums.rpgmakerweb.com/threads/mz-imagename-scriptcall-equivalent-for-mv-solved.155624/