text: # Charset replacement for Earthbound and MOTHER2
  
  # Earthbound
  CHAR_REPLACE_US = {
      0x2F: '⯈', 0x6C: '“', 0x6E: '”', 0x70: '•',
      0x8B: 'α', 0x8C: 'β', 0x8D: 'γ', 0x8E: 'Σ',
      0x8F: 'Ω', 0xAC: '♪', 0xAF: '○',
  }
  
  # MOTHER2
  CHAR_REPLACE_JP = {
      0x22: '[EQUIPPED]',
      0x24: '[CENTS]',
      0x20: '　', 0x21: '＞', 0x23: '＄',
      0x25: 'ー', 0x26: '〜', 0x27: '／', 0x28: '！',
      0x29: '？', 0x2A: 'α', 0x2B: 'β', 0x2C: 'γ',
      0x2D: 'Σ', 0x2E: 'Ω', 0x2F: '　', 0x30: '０',
      0x31: '１', 0x32: '２', 0x33: '３', 0x34: '４',
      0x35: '５', 0x36: '６', 0x37: '７', 0x38: '８',
      0x39: '９', 0x3A: '（', 0x3B: '）', 0x3C: '「',
      0x3D: '」', 0x3E: '♪♪', 0x3F: '○', 0x40: '◆',
      0x41: 'Ａ', 0x42: 'Ｂ', 0x43: 'Ｃ', 0x44: 'Ｄ',
      0x45: 'Ｅ', 0x46: 'Ｆ', 0x47: 'Ｇ', 0x48: 'Ｈ',
      0x49: 'Ｉ', 0x4A: 'Ｊ', 0x4B: 'Ｋ', 0x4C: 'Ｌ',
      0x4D: 'Ｍ', 0x4E: 'Ｎ', 0x4F: 'Ｏ', 0x50: 'Ｐ',
      0x51: 'Ｑ', 0x52: 'Ｒ', 0x53: 'Ｓ', 0x54: 'Ｔ',
      0x55: 'Ｕ', 0x56: 'Ｖ', 0x57: 'Ｗ', 0x58: 'Ｘ',
      0x59: 'Ｙ', 0x5A: 'Ｚ', 0x5B: '：', 0x5C: '・',
      0x5D: '･･', 0x5E: '．', 0x5F: '。', 0x60: 'あ',
      0x61: 'ぁ', 0x62: 'か', 0x63: 'が', 0x64: 'さ',
      0x65: 'ざ', 0x66: 'た', 0x67: 'だ', 0x68: 'な', 
      0x69: 'は', 0x6A: 'ば', 0x6B: 'ぱ', 0x6C: 'ま', 
      0x6D: 'や', 0x6E: 'ゃ', 0x6F: 'ら', 0x70: 'い', 
      0x71: 'ぃ', 0x72: 'き', 0x73: 'ぎ', 0x74: 'し', 
      0x75: 'じ', 0x76: 'ち', 0x77: 'ぢ', 0x78: 'に', 
      0x79: 'ひ', 0x7A: 'び', 0x7B: 'ぴ', 0x7C: 'み',  
      0x7D: 'わ', 0x7E: 'っ', 0x7F: 'り', 0x80: 'う', 
      0x81: 'ぅ', 0x82: 'く', 0x83: 'ぐ', 0x84: 'す', 
      0x85: 'ず', 0x86: 'つ', 0x87: 'づ', 0x88: 'ぬ', 
      0x89: 'ふ', 0x8A: 'ぶ', 0x8B: 'ぷ', 0x8C: 'む', 
      0x8D: 'ゆ', 0x8E: 'ゅ', 0x8F: 'る', 0x90: 'え', 
      0x91: 'ぇ', 0x92: 'け', 0x93: 'げ', 0x94: 'せ', 
      0x95: 'ぜ', 0x96: 'て', 0x97: 'で', 0x98: 'ね', 
      0x99: 'へ', 0x9A: 'べ', 0x9B: 'ぺ', 0x9C: 'め', 
      0x9D: 'ん', 0x9E: 'を', 0x9F: 'れ', 0xA0: 'お', 
      0xA1: 'ぉ', 0xA2: 'こ', 0xA3: 'ご', 0xA4: 'そ', 
      0xA5: 'ぞ', 0xA6: 'と', 0xA7: 'ど', 0xA8: 'の', 
      0xA9: 'ほ', 0xAA: 'ぼ', 0xAB: 'ぽ', 0xAC: 'も', 
      0xAD: 'よ', 0xAE: 'ょ', 0xAF: 'ろ',
      # Katakana uses the same layout as hiragana, so we can just add a value to get the katakana equivalent
  }
  