Advertisement
Faschz

Majora's Mask - Invalid Chars

Apr 12th, 2019
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.56 KB | None | 0 0
  1. -- List of characters that would crash the game upon being written in the
  2. -- English version
  3. CHAR_CRASHES = {
  4.     0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B,
  5.     0x0C, 0x0D, 0x0E, 0x0F, 0x10, 0x11, 0x12, 0x13,
  6.     0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B,
  7.     0x1C, 0x1D, 0x1E, 0x1F, 0xBC, 0xBD, 0xBE, 0xBF
  8. }
  9.  
  10. -- List of characters that would crash the game upon being written in the
  11. -- Japanese version
  12. CHAR_CRASHES = {
  13.     0x000F, 0x0057, 0x00AA, 0x00F2, 0x0135, 0x0271, 0x02D4, 0x0317,
  14.     0x0571, 0x05BC, 0x0679, 0x0696, 0x06D0, 0x0713, 0x07B2, 0x0F49,
  15.     0x0FC2, 0x1005, 0x105D, 0x10CE, 0x1111, 0x1157, 0x1596, 0x15DC,
  16.     0x161F, 0x17E2, 0x1825, 0x186B, 0x1CCA, 0x1D0D, 0x1D47, 0x2445,
  17.     0x24BC, 0x2584, 0x264B, 0x27C2, 0x2805, 0x2A67, 0x2EF2, 0x2F35,
  18.     0x31F2, 0x3235, 0x3673, 0x3765, 0x38E4, 0x3927, 0x3D45, 0x3D82,
  19.     0x3EDC, 0x3F1F, 0x4392, 0x44AA, 0x46FA, 0x473D, 0x4859, 0x4969,
  20.     0x4A84, 0x4EEE, 0x4F31, 0x4F73, 0x4F77, 0x4FA4, 0x4FB0, 0x4FB6,
  21.     0x4FC4, 0x4FF8, 0x5007, 0x503B, 0x508C, 0x50DC, 0x511F, 0x516F,
  22.     0x53D6, 0x5419, 0x5473, 0x5475, 0x54CE, 0x5511, 0x5892, 0x58B6,
  23.     0x58CC, 0x58F4, 0x590F, 0x5937, 0x595B, 0x5971, 0x599A, 0x59BE,
  24.     0x59D2, 0x5A01, 0x5A15, 0x5B8A, 0x5BAE, 0x5BC4, 0x5BEC, 0x5C07,
  25.     0x5C2F, 0x5C53, 0x5C69, 0x5C92, 0x5CB6, 0x5CCA, 0x5D0D, 0x5DE8,
  26.     0x5DF2, 0x5DF4, 0x5E2B, 0x5E35, 0x5E37, 0x67AE, 0x689E, 0x68A8,
  27.     0x68B2, 0x6A8A, 0x6C4F, 0x7286, 0x7290, 0x729A, 0x7451, 0x76B8,
  28.     0x76BC, 0x76C0, 0x7703, 0x98FD, 0x98FE, 0x98FF, 0x9940, 0x9941,
  29.     0x9942, 0x9943, 0x9944, 0x9945, 0x9946, 0x9947, 0x9948, 0x9949,
  30.     0x994A, 0x994B, 0x994C, 0x994D, 0x994E
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement