Skip to content

Commit

Permalink
fix(zscript): handful of zasm commands using wrong name
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjclark committed Apr 14, 2024
1 parent b7ac0c6 commit 960da11
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/parser/ByteCode.cpp
Expand Up @@ -4602,7 +4602,7 @@ string OSetEWeaponPointer::toString() const

string OGetItemPointer::toString() const
{
return "ITEMARRPTR " + getArgument()->toString();
return "IDATAARRPTR " + getArgument()->toString();
}

string OSetItemPointer::toString() const
Expand Down Expand Up @@ -5832,7 +5832,7 @@ string OBMPLineRegister::toString() const

string OBMPSplineRegister::toString() const
{
return "BMPBMPSPLINER";
return "BMPSPLINER";
}

string OBMPPutPixelRegister::toString() const
Expand Down
6 changes: 3 additions & 3 deletions src/zc/ffscript.cpp
Expand Up @@ -45045,7 +45045,7 @@ script_command ZASMcommands[NUMCOMMANDS+1]=
{ "IDATAARRPTR", 1, 0, 0, 0},
{ "FFCARRPTR", 1, 0, 0, 0},
{ "BOOLARRPTR", 1, 0, 0, 0},
{ "BOOLARRPTR", 1, 0, 0, 0},
{ "NPCARRPTR", 1, 0, 0, 0},
{ "LWPNARRPTR2", 1, 0, 0, 0},
{ "EWPNARRPTR2", 1, 0, 0, 0},
{ "ITEMARRPTR2", 1, 0, 0, 0},
Expand Down Expand Up @@ -45888,8 +45888,8 @@ script_command ZASMcommands[NUMCOMMANDS+1]=
{ "SPRINTFVARG", 0, 0, 0, 0 },
{ "TRACELR", 1, 0, 0, 0 },
{ "WAITFRAMESR", 1, 0, 0, 0 },
{ "RESRVD_OP_Z3_01", 0, 0, 0, 0 },
{ "RESRVD_OP_Z3_02", 0, 0, 0, 0 },
{ "REGION_SCREEN_FOR_COMBO_POS", 1, 0, 0, 0 },
{ "REGION_TRIGGER_SECRETS", 1, 0, 0, 0 },
{ "RESRVD_OP_Z3_03", 0, 0, 0, 0 },
{ "RESRVD_OP_Z3_04", 0, 0, 0, 0 },
{ "RESRVD_OP_Z3_05", 0, 0, 0, 0 },
Expand Down

0 comments on commit 960da11

Please sign in to comment.