From c6373b1077e24555292c3f503a25564c313e0fb2 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 26 May 2021 22:42:22 -0300 Subject: Fix some typos --- npc/functions/bitwise.txt | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'npc/functions/bitwise.txt') diff --git a/npc/functions/bitwise.txt b/npc/functions/bitwise.txt index fd80024ef..7d0047e89 100644 --- a/npc/functions/bitwise.txt +++ b/npc/functions/bitwise.txt @@ -73,17 +73,17 @@ function script get_nibble { case 0: .@s=0; .@m=0xF; break; case 1: - .@s=4; .@m=0XF0; break; + .@s=4; .@m=0xF0; break; case 2: - .@s=8; .@m=0XF00; break; + .@s=8; .@m=0xF00; break; case 3: - .@s=12; .@m=0XF000; break; + .@s=12; .@m=0xF000; break; case 4: - .@s=16; .@m=0XF0000; break; + .@s=16; .@m=0xF0000; break; case 5: - .@s=20; .@m=0XF00000; break; + .@s=20; .@m=0xF00000; break; case 6: - .@s=24; .@m=0XF000000; break; + .@s=24; .@m=0xF000000; break; default: Exception("Invalid Nibble: "+getarg(1), RB_DEFAULT, .@v); } @@ -99,11 +99,11 @@ function script get_byte { case 0: .@s=0; .@m=0xFF; break; case 1: - .@s=8; .@m=0XFF00; break; + .@s=8; .@m=0xFF00; break; case 2: - .@s=16; .@m=0XFF0000; break; + .@s=16; .@m=0xFF0000; break; case 3: - .@s=24; .@m=0X7F000000; break; + .@s=24; .@m=0x7F000000; break; default: Exception("Invalid Byte: "+getarg(1), RB_DEFAULT, .@v); } @@ -128,17 +128,17 @@ function script set_nibble { case 0: .@s=0; .@m=0xF; break; case 1: - .@s=4; .@m=0XF0; break; + .@s=4; .@m=0xF0; break; case 2: - .@s=8; .@m=0XF00; break; + .@s=8; .@m=0xF00; break; case 3: - .@s=12; .@m=0XF000; break; + .@s=12; .@m=0xF000; break; case 4: - .@s=16; .@m=0XF0000; break; + .@s=16; .@m=0xF0000; break; case 5: - .@s=20; .@m=0XF00000; break; + .@s=20; .@m=0xF00000; break; case 6: - .@s=24; .@m=0XF000000; break; + .@s=24; .@m=0xF000000; break; default: Exception("Invalid SNibble: "+getarg(2), RB_DEFAULT); } @@ -154,11 +154,11 @@ function script set_byte { case 0: .@s=0; .@m=0xFF; break; case 1: - .@s=8; .@m=0XFF00; break; + .@s=8; .@m=0xFF00; break; case 2: - .@s=16; .@m=0XFF0000; break; + .@s=16; .@m=0xFF0000; break; case 3: - .@s=24; .@m=0X7F000000; break; + .@s=24; .@m=0x7F000000; break; default: Exception("Invalid SByte: "+getarg(2), RB_DEFAULT); } -- cgit v1.2.3-70-g09d2