OSDN Git Service

[Refactor] #37353 determine_random_questor() を quest.c へ移動。 / Move determine_random_q...
[hengband/hengband.git] / src / birth.c
index 7425ba1..fe6fc59 100644 (file)
  */
 
 #include "angband.h"
+#include "history.h"
+#include "monsterrace-hook.h"
+#include "store.h"
+#include "quest.h"
 
 /*!
  * オートローラーの内容を描画する間隔 / 
 /* 選択可能な職業の最大数 */
 #define MAX_CLASS_CHOICE     MAX_CLASS
 
-/*!
- * 生い立ちメッセージテーブル / Forward declare
- */
-typedef struct hist_type hist_type;
-
-/*!
- * 生い立ちメッセージテーブルの構造体定義 / Player background information
- */
-struct hist_type
-{
-       cptr info;                          /*!> メッセージ本文 / Textual History */
-
-       byte roll;                          /*!> 確率の重み / Frequency of this entry */
-       byte chart;                         /*!> 生い立ちメッセージの流れを示すチャートID / Chart index */
-       byte next;                          /*!> 次のチャートID */
-       byte bonus;                         /*!> メッセージに伴う社会的地位の変化量(50が基準値) / Social Class Bonus + 50 */
-};
-
-
-/*!
- * 生い立ちテーブルの定義 / Background information (see below)\n
- *\n
- * Chart progression by race:\n
- *   Human         -->  1 -->  2 -->  3 --> 50 --> 51 --> 52 --> 53\n
- *   Half-Elf      -->  4 -->  1 -->  2 -->  3 --> 50 --> 51 --> 52 --> 53\n
- *   Elf/High-Elf  -->  7 -->  8 -->  9 --> 54 --> 55 --> 56\n
- *   Hobbit        --> 10 --> 11 -->  3 --> 50 --> 51 --> 52 --> 53\n
- *   Gnome         --> 13 --> 14 -->  3 --> 50 --> 51 --> 52 --> 53\n
- *   Dwarf         --> 16 --> 17 --> 18 --> 57 --> 58 --> 59 --> 60 --> 61\n
- *   Half-Orc      --> 19 --> 20 -->  2 -->  3 --> 50 --> 51 --> 52 --> 53\n
- *   Half-Troll    --> 22 --> 23 --> 62 --> 63 --> 64 --> 65 --> 66\n
- *\n
- * XXX XXX XXX This table *must* be correct or drastic errors may occur!\n
- */
-static hist_type bg[] =
-{
-#ifdef JP
-       {"妾腹の子で認知すらされていません。",                  10, 2, 3, 25},
-       {"妾腹の子ですが認知はされています。",                  20, 2, 3, 35},
-       {"幾人かの子供のうちの一人です。",                        95, 2, 3, 45},
-       {"長子です。",                                             100, 2, 3, 50},
-#else
-       {"You are the illegitimate and unacknowledged child ",   10, 1, 2, 25},
-       {"You are the illegitimate but acknowledged child ",     20, 1, 2, 35},
-       {"You are one of several children ",                     95, 1, 2, 45},
-       {"You are the first child ",                            100, 1, 2, 50},
-#endif
-
-
-#ifdef JP
-       {"あなたは農奴の",                                        40, 1, 2, 65},
-       {"あなたは自作農の",                                     65, 1, 2, 80},
-       {"あなたは町人の",                                        80, 1, 2, 90},
-       {"あなたは職人の",                                        90, 1, 2,105},
-       {"あなたは土着の騎士の",                               96, 1, 2,120},
-       {"あなたは混沌の宮廷の爵位ある貴族の",                          99, 1, 2,130},
-       {"あなたはアンバーの王家の血を引く者の",                              100, 1, 2,140},
-#else
-       {"of a Serf.  ",                                         40, 2, 3, 65},
-       {"of a Yeoman.  ",                                       65, 2, 3, 80},
-       {"of a Townsman.  ",                                     80, 2, 3, 90},
-       {"of a Guildsman.  ",                                    90, 2, 3, 105},
-       {"of a Landed Knight.  ",                                96, 2, 3, 120},
-       {"of a Noble Family in the Courts of Chaos.  ",          99, 2, 3, 130},
-       {"of the Royal Blood Line of Amber.  ",                 100, 2, 3, 140},
-#endif
-
-
-#ifdef JP
-       {"あなたは一家のお荷物です。",                              20, 3,50, 20},
-       {"あなたは一家の誇りです。",                                 80, 3,50, 55},
-       {"あなたは家族に大切にされています。",                 100, 3,50, 60},
-#else
-       {"You are the black sheep of the family.  ",             20, 3, 50, 20},
-       {"You are a credit to the family.  ",                    80, 3, 50, 55},
-       {"You are a well liked child.  ",                       100, 3, 50, 60},
-#endif
-
-
-#ifdef JP
-       {"あなたの母はテレリ族のエルフでした。",               40, 4, 1, 50},
-       {"あなたの父はテレリ族のエルフでした。",               75, 4, 1, 55},
-       {"あなたの母はノルドール族のエルフでした。",                 90, 4, 1, 55},
-       {"あなたの父はノルドール族のエルフでした。",                 95, 4, 1, 60},
-       {"あなたの母はヴァンヤール族のエルフでした。",              98, 4, 1, 65},
-       {"あなたの父はヴァンヤール族のエルフでした。",                             100, 4, 1, 70},
-#else
-       {"Your mother was of the Teleri.  ",                     40, 4, 1, 50},
-       {"Your father was of the Teleri.  ",                     75, 4, 1, 55},
-       {"Your mother was of the Noldor.  ",                     90, 4, 1, 55},
-       {"Your father was of the Noldor.  ",                     95, 4, 1, 60},
-       {"Your mother was of the Vanyar.  ",                     98, 4, 1, 65},
-       {"Your father was of the Vanyar.  ",                    100, 4, 1, 70},
-#endif
-
-
-#ifdef JP
-       {"幾人かの子供のうちの一人です。",                        60, 9, 54, 50},
-       {"一粒種です。",                                  100, 9, 54, 55},
-#else
-       {"You are one of several children ",                     60, 7, 8, 50},
-       {"You are the only child ",                                     100, 7, 8, 55},
-#endif
-
-
-#ifdef JP
-       {"あなたはテレリ族のエルフの",                              75, 7, 8, 50},
-       {"あなたはノルドール族のエルフの",                        95, 7, 8, 55},
-       {"あなたはヴァンヤール族のエルフの",                    100, 7, 8, 60},
-#else
-       {"of a Teleri ",                                                 75, 8, 9, 50},
-       {"of a Noldor ",                                                 95, 8, 9, 55},
-       {"of a Vanyar ",                                                100, 8, 9, 60},
-#endif
-
-
-#ifdef JP
-       {"レンジャーの",                                   40, 8,9, 80},
-       {"アーチャーの",                                   70, 8,9, 90},
-       {"戦士の",                                            87, 8,9,110},
-       {"メイジの",                                                 95, 8,9,125},
-       {"王子の",                                            99, 8,9,140},
-       {"王の",                                              100, 8,9,145},
-#else
-       {"Ranger.  ",                                            40, 9, 54, 80},
-       {"Archer.  ",                                            70, 9, 54, 90},
-       {"Warrior.  ",                                           87, 9, 54, 110},
-       {"Mage.  ",                                                      95, 9, 54, 125},
-       {"Prince.  ",                                            99, 9, 54, 140},
-       {"King.  ",                                                     100, 9, 54, 145},
-#endif
-
-
-#ifdef JP
-       {"ホビットの何人かの子供のうちの一人です。",                 85,11,3, 45},
-       {"ホビットの一粒種です。",                           100,11,3, 55},
-#else
-       {"You are one of several children of a Hobbit ",                 85, 10, 11, 45},
-       {"You are the only child of a Hobbit ",                 100, 10, 11, 55},
-#endif
-
-
-#ifdef JP
-       {"あなたは乞食の",                                                        20,10,11, 55},
-       {"あなたは酒場の店主の",                                               30,10,11, 80},
-       {"あなたは粉屋の",                                                        40,10,11, 90},
-       {"あなたは家主の",                                                        50,10,11,100},
-       {"あなたは忍びの者の",                                                  80,10,11,110},
-       {"あなたは戦士の",                                                        95,10,11,115},
-       {"あなたはメイジの",                                                     99,10,11,125},
-       {"あなたは一族の長の",                                                 100,10,11,140},
-#else
-       {"Bum.  ",                                                       20, 11, 3, 55},
-       {"Tavern Owner.  ",                                              30, 11, 3, 80},
-       {"Miller.  ",                                            40, 11, 3, 90},
-       {"Home Owner.  ",                                                50, 11, 3, 100},
-       {"Burglar.  ",                                           80, 11, 3, 110},
-       {"Warrior.  ",                                           95, 11, 3, 115},
-       {"Mage.  ",                                                      99, 11, 3, 125},
-       {"Clan Elder.  ",                                               100, 11, 3, 140},
-#endif
-
-
-#ifdef JP
-       {"ノームの幾人かの子供のうちの一人です。",            85,14,3, 45},
-       {"ノームの一粒種です。",                              100,14,3, 55},
-#else
-       {"You are one of several children of a Gnome ",          85, 13, 14, 45},
-       {"You are the only child of a Gnome ",                  100, 13, 14, 55},
-#endif
-
-
-#ifdef JP
-       {"あなたは物乞いの",                                                     20,13,14, 55},
-       {"あなたはホラ吹きの",                                                  50,13,14, 70},
-       {"あなたはお調子者の",                                                  75,13,14, 85},
-       {"あなたは戦士の",                                                        95,13,14,100},
-       {"あなたはメイジの",                                                    100,13,14,125},
-#else
-       {"Beggar.  ",                                            20, 14, 3, 55},
-       {"Braggart.  ",                                          50, 14, 3, 70},
-       {"Prankster.  ",                                                 75, 14, 3, 85},
-       {"Warrior.  ",                                           95, 14, 3, 100},
-       {"Mage.  ",                                                     100, 14, 3, 125},
-#endif
-
-
-#ifdef JP
-       {"ドワーフの二人の子供のうちの一人です。",            25,17,18, 40},
-       {"ドワーフの一粒種です。",                           100,17,18, 50},
-#else
-       {"You are one of two children of a Dwarven ",            25, 16, 17, 40},
-       {"You are the only child of a Dwarven ",                        100, 16, 17, 50},
-#endif
-
-
-#ifdef JP
-       {"あなたは泥棒の",                                                        10,16,17, 60},
-       {"あなたは牢番の",                                                        25,16,17, 75},
-       {"あなたは坑夫の",                                                        75,16,17, 90},
-       {"あなたは戦士の",                                                        90,16,17,110},
-       {"あなたはプリーストの",                                       99,16,17,130},
-       {"あなたは王の",                                                  100,16,17,150},
-#else
-       {"Thief.  ",                                             10, 17, 18, 60},
-       {"Prison Guard.  ",                                              25, 17, 18, 75},
-       {"Miner.  ",                                             75, 17, 18, 90},
-       {"Warrior.  ",                                           90, 17, 18, 110},
-       {"Priest.  ",                                            99, 17, 18, 130},
-       {"King.  ",                                                     100, 17, 18, 150},
-#endif
-
-
-#ifdef JP
-       {"あなたは一家のお荷物です。",                                              15,18,57,10},
-       {"あなたは一家の誇りです。",                                                 85,18,57, 50},
-       {"あなたは家族に大切にされています。",                         100,18,57, 55},
-#else
-       {"You are the black sheep of the family.  ",             15, 18, 57, 10},
-       {"You are a credit to the family.  ",                    85, 18, 57, 50},
-       {"You are a well liked child.  ",                               100, 18, 57, 55},
-#endif
-
-
-#ifdef JP
-       {"あなたの母はオークでしたが、それは秘密にされています。",    25,19,20, 25},
-       {"あなたの父はオークでしたが、それは秘密にされています。",   100,19,20, 25},
-#else
-       {"Your mother was an Orc, but it is unacknowledged.  ",  25, 19, 20, 25},
-       {"Your father was an Orc, but it is unacknowledged.  ", 100, 19, 20, 25},
-#endif
-
-
-#ifdef JP
-       {"あなたは農奴の養子です。",                                                 40,20, 3, 65},
-       {"あなたは自作農の養子です。",                                              65,20, 3, 80},
-       {"あなたは町人の養子です。",                                                 80,20, 3, 90},
-       {"あなたは職人の養子です。",                                                 90,20, 3,105},
-       {"あなたは土着の騎士の養子です。",                                        96,20, 3,120},
-       {"あなたは爵位ある貴族の養子です。",                             99,20, 3,130},
-       {"あなたは王家の血を引く者の養子です。",                      100,20, 3,140},
-#else
-       {"You are the adopted child ",                          100, 20, 2, 50},
-#endif
-
-
-#ifdef JP
-       {"あなたの母は洞窟トロルの",                                 30,22,23, 20},
-       {"あなたの父は洞窟トロルの",                                 60,22,23, 25},
-       {"あなたの母は丘トロルの",                                    75,22,23, 30},
-       {"あなたの父は丘トロルの",                                    90,22,23, 35},
-       {"あなたの母は水トロルの",                                    95,22,23, 40},
-       {"あなたの父は水トロルの",                                   100,22,23, 45},
-#else
-       {"Your mother was a Cave-Troll ",                                30, 22, 23, 20},
-       {"Your father was a Cave-Troll ",                                60, 22, 23, 25},
-       {"Your mother was a Hill-Troll ",                                75, 22, 23, 30},
-       {"Your father was a Hill-Troll ",                                90, 22, 23, 35},
-       {"Your mother was a Water-Troll ",                               95, 22, 23, 40},
-       {"Your father was a Water-Troll ",                              100, 22, 23, 45},
-#endif
-
-
-#ifdef JP
-       {"コックでした。",                                                         5,23,62, 60},
-       {"戦士でした。",                                                   95,23,62, 55},
-       {"呪術師でした。",                                                        99,23,62, 65},
-       {"一族の長でした。",                                            100,23,62, 80},
-#else
-       {"Cook.  ",                                                       5, 23, 62, 60},
-       {"Warrior.  ",                                           95, 23, 62, 55},
-       {"Shaman.  ",                                            99, 23, 62, 65},
-       {"Clan Chief.  ",                                               100, 23, 62, 80},
-#endif
-
-
-#ifdef JP
-       {"あなたは深いブラウンの瞳と",                              20,50,51, 50},
-       {"あなたはブラウンの瞳と",                                    60,50,51, 50},
-       {"あなたは淡い色の瞳と",                                       70,50,51, 50},
-       {"あなたはグリーンの瞳と",                                    80,50,51, 50},
-       {"あなたは青い瞳と",                                             90,50,51, 50},
-       {"あなたはブルーグレイの瞳と",                             100,50,51, 50},
-#else
-       {"You have dark brown eyes, ",                           20, 50, 51, 50},
-       {"You have brown eyes, ",                                        60, 50, 51, 50},
-       {"You have hazel eyes, ",                                        70, 50, 51, 50},
-       {"You have green eyes, ",                                        80, 50, 51, 50},
-       {"You have blue eyes, ",                                         90, 50, 51, 50},
-       {"You have blue-gray eyes, ",                           100, 50, 51, 50},
-#endif
-
-
-#ifdef JP
-       {"なめらかな",                                                      70,51,52, 50},
-       {"波打った",                                                         90,51,52, 50},
-       {"カールした",                                                     100,51,52, 50},
-#else
-       {"straight ",                                            70, 51, 52, 50},
-       {"wavy ",                                                        90, 51, 52, 50},
-       {"curly ",                                                      100, 51, 52, 50},
-#endif
-
-
-#ifdef JP
-       {"黒髪を持ち、",                                           30,52,53, 50},
-       {"茶髪を持ち、",                                           70,52,53, 50},
-       {"とび色の髪を持ち、",                                  80,52,53, 50},
-       {"赤い髪を持ち、",                                                90,52,53, 50},
-       {"ブロンドの髪を持ち、",                              100,52,53, 50},
-#else
-       {"black hair, ",                                                 30, 52, 53, 50},
-       {"brown hair, ",                                                 70, 52, 53, 50},
-       {"auburn hair, ",                                                80, 52, 53, 50},
-       {"red hair, ",                                           90, 52, 53, 50},
-       {"blond hair, ",                                                100, 52, 53, 50},
-#endif
-
-
-#ifdef JP
-       {"漆黒の肌をしています。",                                    10,53, 0, 50},
-       {"黒い肌をしています。",                                       30,53, 0, 50},
-       {"普通の肌色をしています。",                                 80,53, 0, 50},
-       {"白い肌をしています。",                                       90,53, 0, 50},
-       {"透き通るような白い肌をしています。",         100,53, 0, 50},
-#else
-       {"and a very dark complexion.",                          10, 53, 0, 50},
-       {"and a dark complexion.",                                       30, 53, 0, 50},
-       {"and an average complexion.",                           80, 53, 0, 50},
-       {"and a fair complexion.",                                       90, 53, 0, 50},
-       {"and a very fair complexion.",                         100, 53, 0, 50},
-#endif
-
-
-#ifdef JP
-       {"あなたは明るいグレーの瞳と",                                      85,54,55, 50},
-       {"あなたは明るいブルーの瞳と",                                      95,54,55, 50},
-       {"あなたは明るいグリーンの瞳と",                                  100,54,55, 50},
-#else
-       {"You have light grey eyes, ",                           85, 54, 55, 50},
-       {"You have light blue eyes, ",                           95, 54, 55, 50},
-       {"You have light green eyes, ",                         100, 54, 55, 50},
-#endif
-
-
-#ifdef JP
-       {"なめらかな",                                                      75,55,56, 50},
-       {"波打った",                                                        100,55,56, 50},
-#else
-       {"straight ",                                            75, 55, 56, 50},
-       {"wavy ",                                                       100, 55, 56, 50},
-#endif
-
-
-#ifdef JP
-       {"黒髪を持ち、白い肌をしています。",                             75,56, 0, 50},
-       {"茶髪を持ち、白い肌をしています。",                             85,56, 0, 50},
-       {"ブロンドの髪を持ち、白い肌をしています。",                                 95,56, 0, 50},
-       {"銀髪を持ち、白い肌をしています。",                            100,56, 0, 50},
-#else
-       {"black hair, and a fair complexion.",                   75, 56, 0, 50},
-       {"brown hair, and a fair complexion.",                   85, 56, 0, 50},
-       {"blond hair, and a fair complexion.",                   95, 56, 0, 50},
-       {"silver hair, and a fair complexion.",                 100, 56, 0, 50},
-#endif
-
-
-#ifdef JP
-       {"あなたは深いブラウンの瞳と",                                      99,57,58, 50},
-       {"あなたは輝く赤い瞳と",                                      100,57,58, 60},
-#else
-       {"You have dark brown eyes, ",                           99, 57, 58, 50},
-       {"You have glowing red eyes, ",                         100, 57, 58, 60},
-#endif
-
-
-#ifdef JP
-       {"なめらかな",                                                      90,58,59, 50},
-       {"波打った",                                                        100,58,59, 50},
-#else
-       {"straight ",                                            90, 58, 59, 50},
-       {"wavy ",                                                       100, 58, 59, 50},
-#endif
-
-
-#ifdef JP
-       {"黒髪、そして",                                           75,59,60, 50},
-       {"茶髪、そして",                                          100,59,60, 50},
-#else
-       {"black hair, ",                                                 75, 59, 60, 50},
-       {"brown hair, ",                                                100, 59, 60, 50},
-#endif
-
-
-#ifdef JP
-       {" 30cm ほどのヒゲを持ち、",                                            25,60,61, 50},
-       {" 60cm ほどのヒゲを持ち、",                                            60,60,61, 51},
-       {" 90cm ほどのヒゲを持ち、",                                    90,60,61, 53},
-       {" 1m20cm ほどのヒゲを持ち、 ",                                                100,60,61, 55},
-#else
-       {"a one foot beard, ",                                   25, 60, 61, 50},
-       {"a two foot beard, ",                                   60, 60, 61, 51},
-       {"a three foot beard, ",                                         90, 60, 61, 53},
-       {"a four foot beard, ",                                 100, 60, 61, 55},
-#endif
-
-
-#ifdef JP
-       {"黒い肌をしています。",                                      100,61, 0, 50},
-#else
-       {"and a dark complexion.",                                      100, 61, 0, 50},
-#endif
-
-
-#ifdef JP
-       {"あなたはベトつくような緑の瞳と",                                        60,62,63, 50},
-       {"あなたは汚物のような黄色い瞳と",                                        85,62,63, 50},
-       {"あなたは青く血走った瞳と",                                 99,62,63, 50},
-       {"あなたは輝く赤い瞳と",                                      100,62,63, 55},
-#else
-       {"You have slime green eyes, ",                          60, 62, 63, 50},
-       {"You have puke yellow eyes, ",                          85, 62, 63, 50},
-       {"You have blue-bloodshot eyes, ",                               99, 62, 63, 50},
-       {"You have glowing red eyes, ",                         100, 62, 63, 55},
-#endif
-
-
-#ifdef JP
-       {"汚らしい",                                                         33,63,64, 50},
-       {"不潔な",                                                    66,63,64, 50},
-       {"脂ぎった",                                                        100,63,64, 50},
-#else
-       {"dirty ",                                                       33, 63, 64, 50},
-       {"mangy ",                                                       66, 63, 64, 50},
-       {"oily ",                                                       100, 63, 64, 50},
-#endif
-
-
-#ifdef JP
-       {"ワカメの様な髪を持ち、",                                    33,64,65, 50},
-       {"明るい赤色の髪を持ち、",                                            66,64,65, 50},
-       {"暗い紫色の髪を持ち、",                                              100,64,65, 50},
-#else
-       {"sea-weed green hair, ",                                        33, 64, 65, 50},
-       {"bright red hair, ",                                    66, 64, 65, 50},
-       {"dark purple hair, ",                                  100, 64, 65, 50},
-#endif
-
-
-#ifdef JP
-       {"緑色の",                                                    25,65,66, 50},
-       {"青い",                                                       50,65,66, 50},
-       {"白い",                                                       75,65,66, 50},
-       {"黒い",                                                      100,65,66, 50},
-#else
-       {"and green ",                                           25, 65, 66, 50},
-       {"and blue ",                                            50, 65, 66, 50},
-       {"and white ",                                           75, 65, 66, 50},
-       {"and black ",                                          100, 65, 66, 50},
-#endif
-
-
-#ifdef JP
-       {"ブツブツした肌をしています。",                                           33,66, 0, 50},
-       {"カサブタだらけの肌をしています。",                                             66,66, 0, 50},
-       {"ガサガサの肌をしています。",                                             100,66, 0, 50},
-#else
-       {"ulcerous skin.",                                               33, 66, 0, 50},
-       {"scabby skin.",                                                 66, 66, 0, 50},
-       {"leprous skin.",                       100, 66, 0, 50},
-#endif
-
-
-#ifdef JP
-       {"認知されていない子供です。",          50, 68, 50, 45},
-       {"勘当された子供です。",           80, 68, 50, 65},
-       {"早くして生き別れた子供です。",      100, 68, 50, 55},
-#else
-       {"You are an unacknowledged child of ", 50, 67, 68, 45},
-       {"You are a rebel child of ",         80, 67, 68, 65},
-       {"You are a long lost child of ",     100, 67, 68, 55},
-#endif
-
-
-#ifdef JP
-       {"あなたは名の知れぬアンバーの王族の",               50, 67, 68, 80 },
-       {"あなたは第三世代のアンバー王族の", 65, 67, 68, 90 },
-       {"あなたは第二世代のアンバー王族の", 79, 67, 68, 100 },
-       {"あなたはオベロンの",       80, 67, 68, 130 },
-       {"あなたはオズリックの",        83, 67, 68, 105 },
-       {"あなたはフィンドーの",       84, 67, 68, 105 },
-       {"あなたはブランドの",        85, 67, 68, 90 },
-       {"あなたはフローラの",        87, 67, 68, 100 },
-       {"あなたはジェラードの",       88, 67, 68, 125 },
-       {"あなたはディアドラの",      89, 67, 68, 120 },
-       {"あなたはランダムの",       90, 67, 68, 140 },
-       {"あなたはベネディクトの",     91, 67, 68, 115 },
-       {"あなたはコーウィンの",       92, 67, 68, 110 },
-       {"あなたはジュリアンの",       93, 67, 68, 105 },
-       {"あなたはケインの",        94, 67, 68, 95 },
-       {"あなたはブレイズの",        95, 67, 68, 115 },
-       {"あなたはフィオナの",        96, 67, 68, 110 },
-       {"あなたはエリックの",         97, 67, 68, 135 },
-       {"あなたはリナルドの",      98, 67, 68, 90 },
-       {"あなたはマーリンの",       99, 67, 68, 105 },
-       {"あなたはマーティンの",       100, 67,68, 80 },
-#else
-       {"an unknown Amberite.  ",               50, 68, 50, 80 },
-       {"an unknown third generation Amberite.  ", 65, 68, 50, 90 },
-       {"an unknown second generation Amberite.  ", 79, 68, 50, 100 },
-       {"Oberon.  ",       80, 68, 50, 130 },
-       {"Osric.  ",        83, 68, 50, 105 },
-       {"Finndo.  ",       84, 68, 50, 105 },
-       {"Brand.  ",        85, 68, 50, 90 },
-       {"Flora.  ",        87, 68, 50, 100 },
-       {"Gerard.  ",       88, 68, 50, 125 },
-       {"Deirdre.  ",      89, 68, 50, 120 },
-       {"Random.  ",       90, 68, 50, 140 },
-       {"Benedict.  ",     91, 68, 50, 115 },
-       {"Corwin.  ",       92, 68, 50, 110 },
-       {"Julian.  ",       93, 68, 50, 105 },
-       {"Caine.  ",        94, 68, 50, 95 },
-       {"Bleys.  ",        95, 68, 50, 115 },
-       {"Fiona.  ",        96, 68, 50, 110 },
-       {"Eric.  ",         97, 68, 50, 135 },
-       {"Rinaldo.  ",      98, 68, 50, 90 },
-       {"Merlin.  ",       99, 68, 50, 105 },
-       {"Martin.  ",       100, 68, 50, 80 },
-#endif
-
-
-
-#ifdef JP
-       {"何人かの子供のうちの一人です。",      85, 70, 71, 45},
-       {"一粒種です。",           100, 70, 71, 55},
-
-       {"あなたはダークエルフの戦士の", 50, 69, 70, 60 },
-       {"あなたはダークエルフの魔術士の", 80, 69, 70, 75 },
-       {"あなたはダークエルフの貴族の", 100,  69, 70, 95 },
-#else
-       {"You are one of several children of a Dark Elven ",      85, 69, 70, 45},
-       {"You are the only child of a Dark Elven ",          100, 69, 70, 55},
-
-       {"Warrior.  ", 50, 70, 71, 60 },
-       {"Warlock.  ", 80, 70, 71, 75 },
-       {"Noble.  ", 100, 70, 71, 95 },
-#endif
-
-
-#ifdef JP
-       {"あなたは黒い瞳と", 100, 71, 72, 50},
-#else
-       {"You have black eyes, ", 100, 71, 72, 50},
-#endif
-
-
-#ifdef JP
-       {"なめらかな",                        70, 72, 73, 50},
-       {"波打った",                            90, 72, 73, 50},
-       {"カールした",                          100, 72, 73, 50},
-
-       {"黒い髪、そしてとても暗い色の肌をしています。", 100, 73, 0, 50 },
-#else
-       {"straight ",                        70, 72, 73, 50},
-       {"wavy ",                            90, 72, 73, 50},
-       {"curly ",                          100, 72, 73, 50},
-
-       {"black hair and a very dark complexion.", 100, 73, 0, 50 },
-#endif
-
-
-#ifdef JP
-       {"あなたの母親はオーガでしたが、それは秘密にされています。", 25, 74, 20, 25},
-       {"あなたの父親はオーガでしたが、それは秘密にされています。", 100, 74, 20, 25},
-#else
-       {"Your mother was an Ogre, but it is unacknowledged.  ", 25, 74, 20, 25},
-       {"Your father was an Ogre, but it is unacknowledged.  ", 100, 74, 20, 25},
-#endif
-
-
-#ifdef JP
-       {"あなたの母親は丘ジャイアントでした。", 10, 75, 20, 50},
-       {"あなたの母親はファイアー・ジャイアントでした。", 12, 75, 20, 55},
-       {"あなたの母親はフロスト・ジャイアントでした。", 20, 75, 20, 60},
-       {"あなたの母親はクラウド・ジャイアントでした。", 23, 75, 20, 65},
-       {"あなたの母親はストーム・ジャイアントでした。", 25, 75, 20, 70},
-       {"あなたの父親は丘ジャイアントでした。",  60, 75, 20, 50},
-       {"あなたの父親はファイアー・ジャイアントでした。",  70, 75, 20, 55},
-       {"あなたの父親はフロスト・ジャイアントでした。",  80, 75, 20, 60},
-       {"あなたの父親はクラウド・ジャイアントでした。",  90, 75, 20, 65},
-       {"あなたの父親はストーム・ジャイアントでした。", 100, 75, 20, 70},
-#else
-       {"Your mother was a Hill Giant.  ", 10, 75, 20, 50},
-       {"Your mother was a Fire Giant.  ", 12, 75, 20, 55},
-       {"Your mother was a Frost Giant.  ", 20, 75, 20, 60},
-       {"Your mother was a Cloud Giant.  ", 23, 75, 20, 65},
-       {"Your mother was a Storm Giant.  ", 25, 75, 20, 70},
-       {"Your father was a Hill Giant.  ",  60, 75, 20, 50},
-       {"Your father was a Fire Giant.  ",  70, 75, 20, 55},
-       {"Your father was a Frost Giant.  ",  80, 75, 20, 60},
-       {"Your father was a Cloud Giant.  ",  90, 75, 20, 65},
-       {"Your father was a Storm Giant.  ", 100, 75, 20, 70},
-#endif
-
-
-#ifdef JP
-       {"あなたの父親は名の知れぬタイタンでした。", 75, 76, 20, 50 },
-       {"あなたの母親はテミスでした。",        80, 76, 20, 100 },
-       {"あなたの母親はメノシンでした。",     85, 76, 20, 100 },
-       {"あなたの父親はオケアノスでした。",      90, 76, 20, 100 },
-       {"あなたの父親はクリウスでした。",         95, 76, 20, 100 },
-       {"あなたの父親はハイペリオンでした。",      98, 76, 20, 125 },
-       {"あなたの父親はクロノスでした。",       100, 76, 20, 150 },
-#else
-       {"Your father was an unknown Titan.  ", 75, 76, 20, 50 },
-       {"Your mother was Themis.  ",        80, 76, 20, 100 },
-       {"Your mother was Mnemosyne.  ",     85, 76, 20, 100 },
-       {"Your father was Okeanoas.  ",      90, 76, 20, 100 },
-       {"Your father was Crius.  ",         95, 76, 20, 100 },
-       {"Your father was Hyperion.  ",      98, 76, 20, 125 },
-       {"Your father was Kronos.  ",       100, 76, 20, 150 },
-#endif
-
-
-#ifdef JP
-       {"あなたは名の知れぬサイクロプスの子孫です。", 90, 77, 109, 50 },
-       {"あなたはポリフェモスの子供です。", 98, 77, 109, 80 },
-       {"あなたはウラノスの子供です。", 100, 77, 109, 135 },
-#else
-       {"You are the offspring of an unknown Cyclops.  ", 90, 77, 109, 50 },
-       {"You are Polyphemos's child.  ", 98, 77, 109, 80 },
-       {"You are Uranos's child.  ", 100, 77, 109, 135 },
-#endif
-
-
-#ifdef JP
-       {"何人かの子供のうちの一人です。", 100, 79, 80, 50 },
-
-       {"あなたはブラウン・イークの",             50, 78, 79, 50 },
-       {"あなたはブルー・イークの",                75, 78, 79, 50 },
-       {"あなたはマスター・イークの",             95, 78, 79, 85 },
-       {"あなたはイークの王『ボルドール』の", 100, 78, 79, 120 },
-#else
-       {"You are one of several children of ", 100, 78, 79, 50 },
-
-       {"a Brown Yeek. ", 50, 79, 80, 50 },
-       {"a Blue Yeek.  ", 75, 79, 80, 50 },
-       {"a Master Yeek.  ", 95, 79, 80, 85 },
-       {"Boldor, the King of the Yeeks.  ", 100, 79, 80, 120 },
-#endif
-
-
-#ifdef JP
-       {"あなたは青い瞳と",    25, 80, 81, 50 },
-       {"あなたは光る瞳と",    50, 80, 81, 50 },
-       {"あなたは小さな黒い瞳と",    75, 80, 81, 50 },
-       {"あなたは黒く輝く瞳と",    100, 80, 81, 50 },
-
-       {"髪のない頭、",        20, 81, 65, 50 },
-       {"黒く短い髪、",        40, 81, 65, 50 },
-       {"黒く長い髪、",        60, 81, 65, 50 },
-       {"燃えるような赤い髪、",        80, 81, 65, 50 },
-       {"色のない白い髪、",        100, 81, 65, 50 },
-#else
-       {"You have pale eyes, ",    25, 80, 81, 50 },
-       {"You have glowing eyes, ",    50, 80, 81, 50 },
-       {"You have tiny black eyes, ",    75, 80, 81, 50 },
-       {"You have shining black eyes, ",    100, 80, 81, 50 },
-
-       {"no hair at all, ",        20, 81, 65, 50 },
-       {"short black hair, ",        40, 81, 65, 50 },
-       {"long black hair, ",        60, 81, 65, 50 },
-       {"bright red hair, ",        80, 81, 65, 50 },
-       {"colourless albino hair, ",        100, 81, 65, 50 },
-#endif
-
-
-#ifdef JP
-       {"の何人かの子供のうちの一人です。 ", 100, 83, 80, 50 },
-
-       {"あなたはスモール・コボルド",     40, 82, 83, 50 },
-       {"あなたはコボルド",                    75, 82, 83, 55 },
-       {"あなたはラージ・コボルド",                95, 82, 83, 65 },
-       {"あなたはコボルドの王『ムガッシュ』",   100, 82, 83, 100 },
-#else
-       {"You are one of several children of ", 100, 82, 83, 50 },
-
-       {"a Small Kobold.  ",   40, 83, 80, 50 },
-       {"a Kobold.  ",         75, 83, 80, 55 },
-       {"a Large Kobold.  ",   95, 83, 80, 65 },
-       {"Mughash, the Kobold Lord.  ",     100, 83, 80, 100 },
-#endif
-
-
-#ifdef JP
-       {"あなたは女王クラッコンの何人かの子供のうちの一人です。"
-       , 100, 84, 85, 50 },
-
-       {"あなたは赤い肌と", 40, 85, 86, 50 },
-       {"あなたは黒い肌と", 90, 85, 86, 50 },
-       {"あなたは黄色い肌と", 100, 85, 86, 50 },
-
-       {"黒い目をしています。", 100, 86, 0, 50 },
-#else
-       {"You are one of several children of a Klackon hive queen.  "
-       , 100, 84, 85, 50 },
-
-       {"You have red skin, ", 40, 85, 86, 50 },
-       {"You have black skin, ", 90, 85, 86, 50 },
-       {"You have yellow skin, ", 100, 85, 86, 50 },
-
-       {"and black eyes.", 100, 86, 0, 50 },
-#endif
-
-
-#ifdef JP
-       {"の何人かの子供のうちの一人です。", 100, 88, 18, 89 },
-
-       {"あなたはニーベルングの奴隷", 30, 87, 88, 20 },
-       {"あなたはニーベルングの盗賊", 50,         87, 88, 40 },
-       {"あなたはニーベルングの鍛冶屋", 70,      87, 88, 60 },
-       {"あなたはニーベルングの坑夫", 90,         87, 88, 75 },
-       {"あなたはニーベルングのシャーマン", 95,87, 88, 100 },
-       {"あなたはニーベルングの王『ミーメ』", 100,87, 88, 100 },/*nuke me*/
-#else
-       {"You are one of several children of ", 100, 87, 88, 89 },
-
-       {"a Nibelung Slave.  ", 30, 88, 18, 20 },
-       {"a Nibelung Thief.  ", 50, 88, 18, 40 },
-       {"a Nibelung Smith.  ", 70, 88, 18, 60 },
-       {"a Nibelung Miner.  ", 90, 88, 18, 75 },
-       {"a Nibelung Shaman.  ", 95, 88, 18, 100 },
-       {"Mime, the Nibelung.  ", 100, 88, 18, 100 },
-#endif
-
-#ifdef JP
-       {"あなたはドラコニアンの", 100, 89, 90, 50 },
-
-       {"の長子です。", 30, 135, 91, 55 },
-       {"の末子です。", 50, 135, 91, 50 },
-       {"の養子です。", 55, 135, 91, 50 },
-       {"の孤児です。", 60, 135, 91, 45 },
-       {"の幾人かの子供のうちの一人です。", 85, 135, 91, 50 },
-       {"の一粒種です。", 100, 135, 91, 55 },
-
-       {"乞食", 10, 90, 135, 20 },
-       {"盗賊", 21, 90, 135, 30 },
-       {"水夫", 26, 90, 135, 45 },
-       {"傭兵", 42, 90, 135, 45 },
-       {"戦士", 73, 90, 135, 50 },
-       {"商人", 78, 90, 135, 50 },
-       {"職人", 85, 90, 135, 55 },
-       {"治療家", 89, 90, 135, 60 },
-       {"僧侶", 94, 90, 135, 65 },
-       {"魔術師", 97, 90, 135, 70 },
-       {"学者", 99, 90, 135, 80 },
-       {"貴族", 100, 90, 135, 100 },
-
-       {"あなたは", 100, 91, 136, 50 },
-
-       {"は黒灰色の翼と肌、そして灰色の腹をしています。", 11, 136, 0, 50 },
-       {"ブロンズ色の翼と肌、そして銅色の腹をしています。", 16, 136, 0, 50 },
-       {"黄金の翼を持ち、黄金の肌をしています。", 24, 136, 0, 50 },
-       {"白い翼を持ち、白い肌をしています。", 26, 136, 0, 60 },
-       {"青い翼と肌、そして水色の腹をしています。", 32, 136, 0, 50 },
-       {"万色の翼を持ち、肌も万色です。", 33, 136, 0, 70 },
-       {"茶色の翼を持ち、茶色の肌をしています。", 37, 136, 0, 45 },
-       {"黒い翼と肌、そして白い腹をしています。", 41, 136, 0, 50 },
-       {"薄紫色の翼と肌、そして白い腹をしています。", 48, 136, 0, 50 },
-       {"緑色の翼と肌、そして黄色い腹をしています。", 65, 136, 0, 50 },
-       {"緑色の翼を持ち、緑色の肌をしています。", 75, 136, 0, 50 },
-       {"赤い翼を持ち、赤い肌をしています。", 88, 136, 0, 50 },
-       {"黒い翼を持ち、黒い肌をしています。", 94, 136, 0, 50 },
-       {"きらめく翼を持ち、金属的な肌をしています。", 100, 136, 0, 55},
-#else
-       {"You are ", 100, 89, 135, 50 },
-
-       {"the oldest child of a Draconian ", 30, 135, 90, 55 },
-       {"the youngest child of a Draconian ", 50, 135, 90, 50 },
-       {"the adopted child of a Draconian ", 55, 135, 90, 50 },
-       {"an orphaned child of a Draconian ", 60, 135, 90, 45 },
-       {"one of several children of a Draconian ", 85, 135, 90, 50 },
-       {"the only child of a Draconian ", 100, 135, 90, 55 },
-
-       {"Beggar.  ", 10, 90, 91, 20 },
-       {"Thief.  ", 21, 90, 91, 30 },
-       {"Sailor.  ", 26, 90, 91, 45 },
-       {"Mercenary.  ", 42, 90, 91, 45 },
-       {"Warrior.  ", 73, 90, 91, 50 },
-       {"Merchant.  ", 78, 90, 91, 50 },
-       {"Artisan.  ", 85, 90, 91, 55 },
-       {"Healer.  ", 89, 90, 91, 60 },
-       {"Priest.  ", 94, 90, 91, 65 },
-       {"Mage.  ", 97, 90, 91, 70 },
-       {"Scholar.  ", 99, 90, 91, 80 },
-       {"Noble.  ", 100, 90, 91, 100 },
-
-       {"You have ", 100, 91, 136, 50 },
-
-       {"charcoal wings, charcoal skin and a smoke-gray belly.", 11, 136, 0, 50 },
-       {"bronze wings, bronze skin, and a copper belly.", 16, 136, 0, 50 },
-       {"golden wings, and golden skin.", 24, 136, 0, 50 },
-       {"white wings, and white skin.", 26, 136, 0, 60 },
-       {"blue wings, blue skin, and a cyan belly.", 32, 136, 0, 50 },
-       {"multi-hued wings, and multi-hued skin.", 33, 136, 0, 70 },
-       {"brown wings, and brown skin.", 37, 136, 0, 45 },
-       {"black wings, black skin, and a white belly.", 41, 136, 0, 50 },
-       {"lavender wings, lavender skin, and a white belly.", 48, 136, 0, 50 },
-       {"green wings, green skin and yellow belly.", 65, 136, 0, 50 },
-       {"green wings, and green skin.", 75, 136, 0, 50 },
-       {"red wings, and red skin.", 88, 136, 0, 50 },
-       {"black wings, and black skin.", 94, 136, 0, 50 },
-       {"metallic skin, and shining wings.", 100, 136, 0, 55},
-#endif
-
-
-
-#ifdef JP
-       {"あなたは偉大なる長老たちの脳味噌が浮かんでいる母なる池でオタマジャクシとして生まれました。あなたはヌルヌルした肌と輝く空虚な目をしていて、", 100, 92, 93, 80 },
-       {"口の周りに三本の触手が生えています。", 20, 93, 0, 45 },
-       {"口の周りに四本の触手が生えています。", 80, 93, 0, 50 },
-       {"口の周りに五本の触手が生えています。", 100, 93, 0, 55 },
-#else
-       {"You have slimy skin, empty glowing eyes, and ", 100, 92, 93, 80 },
-       {"three tentacles around your mouth.", 20, 93, 0, 45 },
-       {"four tentacles around your mouth.", 80, 93, 0, 50 },
-       {"five tentacles around your mouth.", 100, 93, 0, 55 },
-#endif
-
-
-#ifdef JP
-       {"あなたの祖先は", 100, 94, 95, 50 },
-
-       {"心を持たない地獄の低級な生物でした。", 30, 95, 96, 20 },
-       {"下級悪魔でした。", 60, 95, 96, 50 },
-       {"上級悪魔でした。", 90, 95, 96, 75 },
-       {"魔王でした。", 100, 95, 96, 99 },
-
-       {"あなたは赤い肌と", 50, 96, 97, 50 },
-       {"あなたは茶色い肌と", 100, 96, 97, 50},
-
-       {"赤く燃える瞳をしていて、鉤爪と牙と刺が生えています。", 40, 97, 0, 50 },
-       {"赤く燃える瞳をしていて、鉤爪と牙が生えています。", 70, 97, 0, 50 },
-       {"赤く燃える瞳をしていて、鉤爪が生えています。", 100, 97, 0, 50 },
-#else
-       {"You ancestor was ", 100, 94, 95, 50 },
-
-       {"a mindless demonic spawn.  ", 30, 95, 96, 20 },
-       {"a minor demon.  ", 60, 95, 96, 50 },
-       {"a major demon.  ", 90, 95, 96, 75 },
-       {"a demon lord.  ", 100, 95, 96, 99 },
-
-       {"You have red skin, ", 50, 96, 97, 50 },
-       {"You have brown skin, ", 100, 96, 97, 50},
-
-       {"claws, fangs, spikes, and glowing red eyes.", 40, 97, 0, 50 },
-       {"claws, fangs, and glowing red eyes.", 70, 97, 0, 50 },
-       {"claws, and glowing red eyes.", 100, 97, 0, 50 },
-#endif
-
-
-#ifdef JP
-       {"あなたはカバラの秘術によって", 40,      98, 99, 50 },
-       {"あなたは魔法使いによって", 65,    98, 99, 50 },
-       {"あなたは錬金術師によって",             90,        98, 99, 50},
-       {"あなたは僧侶によって", 100, 98, 99, 60},
-
-       {"悪と戦うために", 10, 99, 100, 65 },
-       {"",             100,  99, 100, 50 },
-
-       {"粘土から", 40, 100, 101, 50 },
-       {"岩石から", 80, 100, 101, 50 },
-       {"木から", 85, 100, 101, 40 },
-       {"鉄から", 99, 100, 101, 50 },
-       {"純金から", 100, 100, 101, 100},
-
-       {"作り出されました。", 100,101, 0, 50 },
-#else
-       {"You were shaped from ", 100, 98, 99, 50 },
-
-       {"clay ", 40, 99, 100, 50 },
-       {"stone ", 80, 99, 100, 50 },
-       {"wood ", 85, 99, 100, 40 },
-       {"iron ", 99, 99, 100, 50 },
-       {"pure gold ", 100, 99, 100, 100},
-
-       {"by a Kabbalist", 40, 100, 101, 50 },
-       {"by a Wizard", 65, 100, 101, 50 },
-       {"by an Alchemist", 90, 100, 101, 50},
-       {"by a Priest", 100, 100, 101, 60},
-
-       {" to fight evil.", 10, 101, 0, 65 },
-       {".", 100, 101, 0, 50 },
-#endif
-
-
-#ifdef JP
-       {"あなたは", 100, 102, 103, 50 },
-
-       {"死霊術士により作り出されました。", 30, 103, 104, 50 },
-       {"魔法の実験により作り出されました。", 50, 103, 104, 50 },
-       {"邪悪な僧侶により作り出されました。", 70, 103, 104, 50 },
-       {"悪魔との契約により生み出されました。", 75, 103, 104, 50 },
-       {"怨霊から生まれました。", 85, 103, 104, 50 },
-       {"呪いから生まれました。", 95, 103, 104, 30 },
-       {"神名濫用により生み出されました。", 100, 103, 104, 50 },
-
-       {"あなたは", 100, 104, 105, 50 },
-       {"古く汚れた骨で出来ていて、", 40, 105, 106, 50 },
-       {"腐った黒い骨で出来ていて、", 60, 105, 106, 50 },
-       {"うす汚れた茶色い骨で出来ていて、", 80, 105, 106, 50 },
-       {"白く輝く骨で出来ていて、", 100, 105, 106, 50 },
-
-       {"光る目をしています。", 30, 106, 0, 50 },
-       {"地獄の劫火が燃えさかる目をしています。", 50, 106, 0, 50 },
-       {"眼窩はからっぽです。", 100, 106, 0, 50 },
-#else
-       {"You were created by ", 100, 102, 103, 50 },
-
-       {"a Necromancer.  ", 30, 103, 104, 50 },
-       {"a magical experiment.  ", 50, 103, 104, 50 },
-       {"an Evil Priest.  ", 70, 103, 104, 50 },
-       {"a pact with the demons.  ", 75, 103, 104, 50 },
-       {"a restless spirit.  ", 85, 103, 104, 50 },
-       {"a curse.  ", 95, 103, 104, 30 },
-       {"an oath.  ", 100, 103, 104, 50 },
-
-       {"You have ", 100, 104, 105, 50 },
-       {"dirty, dry bones, ", 40, 105, 106, 50 },
-       {"rotten black bones, ", 60, 105, 106, 50 },
-       {"filthy, brown bones, ", 80, 105, 106, 50 },
-       {"shining white bones, ", 100, 105, 106, 50 },
-
-       {"and glowing eyes.", 30, 106, 0, 50 },
-       {"and eyes which burn with hellfire.", 50, 106, 0, 50 },
-       {"and empty eyesockets.", 100, 106, 0, 50 },
-#endif
-
-
-#ifdef JP
-       {"あなたは", 100, 107, 108, 50 },
-
-       {"死霊術士により生み出されました。", 30, 108, 62, 50 },
-       {"魔法使いにより生み出されました。", 50, 108, 62, 50 },
-       {"怨霊から生まれました。",60, 108, 62, 50 },
-       {"邪悪な僧侶により生み出されました。", 70, 108, 62, 50 },
-       {"悪魔との契約により生み出されました。", 80, 108, 62, 50 },
-       {"呪いから生まれました。", 95, 108, 62, 30 },
-       {"神名濫用により生み出されました。", 100, 108, 62, 50 },
-
-       {"あなたは暗褐色の瞳、",               20, 109, 110, 50},
-       {"あなたは褐色の瞳、",                    60, 109, 110, 50},
-       {"あなたは薄茶色の瞳、",                    70, 109, 110, 50},
-       {"あなたは緑色の瞳、",                    80, 109, 110, 50},
-       {"あなたは青い瞳、",                     90, 109, 110, 50},
-       {"あなたは淡青色の瞳、",               100, 109, 110, 50}, /*tansei.cc.u-tokyoの由来 */
-
-       {"なめらかな",                        70, 110, 111, 50},
-       {"波打った",                            90, 110, 111, 50},
-       {"カールした",                          100, 110, 111, 50},
-
-       {"黒い髪、",                         30, 111, 112, 50},
-       {"茶色い髪、",                         70, 111, 112, 50},
-       {"赤茶色の髪、",                        80, 111, 112, 50},
-       {"赤い髪、",                       90, 111, 112, 50},
-       {"金髪、",                        100, 111, 112, 50},
-
-       {"そしてとても暗い肌をしています。",              10, 112, 0, 50},
-       {"そして暗い肌をしています。",                   30, 112, 0, 50},
-       {"そして平均的な肌の色をしています。",               80, 112, 0, 50},
-       {"そして血色のいい肌をしています。",                   90, 112, 0, 50},
-       {"そしてとても血色のいい肌をしています。",             100, 112, 0, 50},
-#else
-       {"You were created by ", 100, 107, 108, 50 },
-
-       {"a Necromancer.  ", 30, 108, 62, 50 },
-       {"a Wizard.  ", 50, 108, 62, 50 },
-       {"a restless spirit.  ",60, 108, 62, 50 },
-       {"an Evil Priest.  ", 70, 108, 62, 50 },
-       {"a pact with the demons.  ", 80, 108, 62, 50 },
-       {"a curse.  ", 95, 108, 62, 30 },
-       {"an oath.  ", 100, 108, 62, 50 },
-
-       {"You have a dark brown eye, ",               20, 109, 110, 50},
-       {"You have a brown eye, ",                    60, 109, 110, 50},
-       {"You have a hazel eye, ",                    70, 109, 110, 50},
-       {"You have a green eye, ",                    80, 109, 110, 50},
-       {"You have a blue eye, ",                     90, 109, 110, 50},
-       {"You have a blue-gray eye, ",               100, 109, 110, 50},
-
-       {"straight ",                        70, 110, 111, 50},
-       {"wavy ",                            90, 110, 111, 50},
-       {"curly ",                          100, 110, 111, 50},
-
-       {"black hair, ",                         30, 111, 112, 50},
-       {"brown hair, ",                         70, 111, 112, 50},
-       {"auburn hair, ",                        80, 111, 112, 50},
-       {"red hair, ",                       90, 111, 112, 50},
-       {"blond hair, ",                        100, 111, 112, 50},
-
-       {"and a very dark complexion.",              10, 112, 0, 50},
-       {"and a dark complexion.",                   30, 112, 0, 50},
-       {"and an average complexion.",               80, 112, 0, 50},
-       {"and a fair complexion.",                   90, 112, 0, 50},
-       {"and a very fair complexion.",             100, 112, 0, 50},
-#endif
-
-
-#ifdef JP
-       {"あなたは銘のない墓の中から甦りました。", 20, 113, 114, 50 },
-       {"あなたは生前ただの百姓でしたが、強大なバンパイア・ロードの餌食となってしまいました。", 40, 113, 114, 50 },
-       {"あなたは生前はバンパイア・ハンターでしたが、彼らの餌食となってしまいました。", 60, 113, 114, 50 },
-       {"あなたは生前は死霊術士でした。", 80, 113, 114, 50 },
-       {"あなたは生前は強大な貴族でした。", 95, 113, 114, 50 },
-       {"あなたは生前は強大で残忍な専制君主でした。", 100, 113, 114, 50 },
-#else
-       {"You arose from an unmarked grave.  ", 20, 113, 114, 50 },
-       {"In life you were a simple peasant, the victim of a powerful Vampire Lord.  ", 40, 113, 114, 50 },
-       {"In life you were a Vampire Hunter, but they got you.  ", 60, 113, 114, 50 },
-       {"In life you were a Necromancer.  ", 80, 113, 114, 50 },
-       {"In life you were a powerful noble.  ", 95, 113, 114, 50 },
-       {"In life you were a powerful and cruel tyrant.  ", 100, 113, 114, 50 },
-#endif
-
-
-#ifdef JP
-       {"あなたは", 100, 114, 115, 50 },
-
-       {"漆黒の髪、", 25, 115, 116, 50 },
-       {"もつれたブラウンの髪、", 50, 115, 116, 50 },
-       {"白い髪、", 75, 115, 116, 50 },
-       {"髪のない頭、", 100, 115, 116, 50 },
-#else
-       {"You have ", 100, 114, 115, 50 },
-
-       {"jet-black hair, ", 25, 115, 116, 50 },
-       {"matted brown hair, ", 50, 115, 116, 50 },
-       {"white hair, ", 75, 115, 116, 50 },
-       {"a hairless head, ", 100, 115, 116, 50 },
-#endif
-
-
-#ifdef JP
-       {"燃える石炭のような瞳、", 25, 116, 117, 50 },
-       {"瞳のない目、", 50, 116, 117, 50 },
-       {"凶暴な黄色い瞳、", 75, 116, 117, 50 },
-       {"血走った赤い瞳、", 100, 116, 117, 50 },
-
-       {"そして死人のように青ざめた肌をしています。", 100, 117, 0, 50 },
-#else
-       {"eyes like red coals, ", 25, 116, 117, 50 },
-       {"blank white eyes, ", 50, 116, 117, 50 },
-       {"feral yellow eyes, ", 75, 116, 117, 50 },
-       {"bloodshot red eyes, ", 100, 116, 117, 50 },
-
-       {"and a deathly pale complexion.", 100, 117, 0, 50 },
-#endif
-
-
-#ifdef JP
-       {"あなたは", 100, 118, 119, 50 },
-
-       {"死霊術士により作り出されました。", 30, 119, 134, 50 },
-       {"魔法の実験により作り出されました。", 50, 119, 134, 50 },
-       {"邪悪な僧侶により作り出されました。", 70, 119, 134, 50 },
-       {"悪魔との契約により生み出されました。", 75, 119, 134, 50 },
-       {"怨霊から生まれました。", 85, 119, 134, 50 },
-       {"呪いから生まれました。", 95, 119, 134, 30 },
-       {"神名濫用により生み出されました。", 100, 119, 134, 50 },
-#else
-       {"You were created by ", 100, 118, 119, 50 },
-
-       {"a Necromancer.  ", 30, 119, 134, 50 },
-       {"a magical experiment.  ", 50, 119, 134, 50 },
-       {"an Evil Priest.  ", 70, 119, 134, 50 },
-       {"a pact with the demons.  ", 75, 119, 134, 50 },
-       {"a restless spirit.  ", 85, 119, 134, 50 },
-       {"a curse.  ", 95, 119, 134, 30 },
-       {"an oath.  ", 100, 119, 134, 50 },
-#endif
-
-
-#ifdef JP
-       {"漆黒の髪、", 25, 120, 121, 50 },
-       {"もつれたブラウンの髪、", 50, 120, 121, 50 },
-       {"白い髪、", 75, 120, 121, 50 },
-       {"髪のない頭、", 100, 120, 121, 50 },
-#else
-       {"jet-black hair, ", 25, 120, 121, 50 },
-       {"matted brown hair, ", 50, 120, 121, 50 },
-       {"white hair, ", 75, 120, 121, 50 },
-       {"a hairless head, ", 100, 120, 121, 50 },
-#endif
-
-
-#ifdef JP
-       {"燃える石炭のような瞳、", 25, 121, 122, 50 },
-       {"瞳のない目、", 50, 121, 122, 50 },
-       {"凶暴な黄色い瞳、", 75, 121, 122, 50 },
-       {"血走った赤い瞳、", 100, 121, 122, 50 },
-#else
-       {"eyes like red coals, ", 25, 121, 122, 50 },
-       {"blank white eyes, ", 50, 121, 122, 50 },
-       {"feral yellow eyes, ", 75, 121, 122, 50 },
-       {"bloodshot red eyes, ", 100, 121, 122, 50 },
-#endif
-
-
-#ifdef JP
-       {"そして死人のような土色の肌をしています。", 100, 122, 123, 50 },
-       {"あなたの周りには不気味な緑色のオーラがただよっています。", 100, 123, 0, 50 },
-#else
-       {" and a deathly gray complexion. ", 100, 122, 123, 50 },
-       {"An eerie green aura surrounds you.", 100, 123, 0, 50 },
-#endif
-
-
-#ifdef JP
-       {"あなたの両親は", 100, 124, 125, 50 },
-
-       {"ピクシーでした。", 20, 125, 126, 35 },
-       {"ニクシーでした。", 30, 125, 126, 25 },
-       {"森の妖精でした。", 75, 125, 126, 50 },
-       {"森の精霊でした。", 90, 125, 126, 75 },
-       {"妖精の貴族でした。", 100, 125, 126, 85 }, /*nuke me カタカナのほうがいいかも */
-#else
-       {"Your parents were ", 100, 124, 125, 50 },
-
-       {"pixies.  ", 20, 125, 126, 35 },
-       {"nixies.  ", 30, 125, 126, 25 },
-       {"wood sprites.  ", 75, 125, 126, 50 },
-       {"wood spirits.  ", 90, 125, 126, 75 },
-       {"noble faerie folk.  ", 100, 125, 126, 85 },
-#endif
-
-
-#ifdef JP
-       {"あなたは背中にライトブルーの羽根が生えていて、", 100, 126, 127, 50 },
-
-       {"なめらかな金髪、",                        80, 127, 128, 50},
-       {"波打った金髪、",                            100, 127, 128, 50},
-
-       {"青い瞳、そして非常に生き生きとした肌をしています。", 100, 128, 0, 50},
-#else
-       {"You have light blue wings attached to your back, ", 100, 126, 127, 50 },
-
-       {"straight blond hair, ",                        80, 127, 128, 50},
-       {"wavy blond hair, ",                            100, 127, 128, 50},
-
-       {"blue eyes, and a very fair complexion.", 100, 128, 0, 50},
-#endif
-
-
-#ifdef JP
-       {"あなたは魔法の実験により生み出されました。", 30, 129, 130, 40},
-       {"あなたは子供時代、愚かにも純ログルスに頭を突っ込んでしまいました。",
-       50, 129, 130, 50 }, /*nuke me*/
-       {"あるカオスの魔王が遊びであなたを作り上げました。",
-       60, 129, 130, 60 },
-       {"あなたは魔法により掛け合わされた動物と人間の子供です。", 75, 129, 130, 50},
-       {"あなたは言うもおぞましいカオスの生物の冒涜的な掛け合わせにより生まれました。", 100, 129, 130, 30},
-#else
-       {"You were produced by a magical experiment.  ", 30, 129, 130, 40},
-       {"In your childhood, you were stupid enough to stick your head in raw Logrus.  ",
-       50, 129, 130, 50 },
-       {"A Demon Lord of Chaos decided to have some fun, and so he created you.  ",
-       60, 129, 130, 60 },
-       {"You are the magical crossbreed of an animal and a man.  ", 75, 129, 130, 50},
-       {"You are the blasphemous crossbreed of unspeakable creatures of chaos.  ", 100, 129, 130, 30},
-#endif
-
-
-
-#ifdef JP
-       {"あなたは緑色の爬虫類の目",              60, 130, 131, 50},
-       {"あなたは黒い鳥の目",                    85, 130, 131, 50},
-       {"あなたはオレンジ色の猫の目",            99, 130, 131, 50},
-       {"あなたは燃えるような悪魔の目",          100, 130, 131, 55},
-#else
-       {"You have green reptilian eyes, ",              60, 130, 131, 50},
-       {"You have the black eyes of a bird, ",              85, 130, 131, 50},
-       {"You have the orange eyes of a cat, ",               99, 130, 131, 50},
-       {"You have the fiery eyes of a demon, ",             100, 130, 131, 55},
-#endif
-
-
-#ifdef JP
-
-       {"と髪のない頭を持ち、",                 10, 131, 133, 50},
-       {"をしていて、汚い",                     33, 131, 132, 50},
-       {"をしていて、みすぼらしい",             66, 131, 132, 50},
-       {"をしていて、てかった",                100, 131, 132, 50},
-#else
-       {"no hair at all, ",                 10, 131, 133, 50 },
-       {"dirty ",                           33, 131, 132, 50},
-       {"mangy ",                           66, 131, 132, 50},
-       {"oily ",                           100, 131, 132, 50},
-#endif
-
-
-#ifdef JP
-
-       {"茶色の毛皮と",                    33, 132, 133, 50},
-       {"灰色の毛皮と",                    66, 132, 133, 50},
-       {"白い毛皮と",                     100, 132, 133, 50},
-#else
-       {"brown fur, ",                    33, 132, 133, 50},
-       {"gray fur, ",                    66, 132, 133, 50},
-       {"albino fur, ",                  100, 132, 133, 50},
-#endif
-
-
-#ifdef JP
-       {"山羊の蹄があります。",      50, 133, 0, 50 },
-       {"人間の足が生えています。",  75, 133, 0, 50 },
-       {"鳥の足が生えています。",    85, 133, 0, 50 },
-       {"爬虫類の足が生えています。",90, 133, 0, 50 },
-       {"牛の足が生えています。",    95, 133, 0, 50 },
-       {"猫の足が生えています。",    97, 133, 0, 50 },
-       {"犬の足が生えています。",   100, 133, 0, 50 },
-
-       {"あなたは", 100, 134, 120, 50 },
-#else
-       {"and the hooves of a goat.",      50, 133, 0, 50 },
-       {"and human feet.",        75, 133, 0, 50 },
-       {"and bird's feet.",       85, 133, 0, 50 },
-       {"and reptilian feet.",    90, 133, 0, 50 },
-       {"and bovine feet.",       95, 133, 0, 50 },
-       {"and feline feet.",       97, 133, 0, 50 },
-       {"and canine feet.",       100, 133, 0, 50 },
-
-       {"You have ", 100, 134, 120, 50 },
-#endif
-
-
-#ifdef JP
-       {"行方不明の子です。", 25, 138, 139, 40},
-       {"さまよう子です。", 50, 138, 139, 50},
-       {"唯一の子です。", 75, 138, 139, 60},
-       {"愛されている子です。", 100, 138, 139, 70},
-#else
-       {"You are the lost offspring of ", 25, 137, 138, 40},
-       {"You are the wandering offspring of ", 50, 137, 138, 50},
-       {"You are the only offspring of ", 75, 137, 138, 60},
-       {"You are the beloved offspring of ", 100, 137, 138, 70},
-#endif
-
-
-#ifdef JP
-       {"あなたは名も知れぬエントの", 10, 137, 138, 35},
-       {"あなたは孤独なエントの", 35, 137, 138, 50},
-       {"あなたはエントの一団の一員の", 55, 137, 138, 60},
-       {"あなたは繁栄しているエントの社会のリーダーの", 70, 137, 138, 70},
-       {"あなたはエントの森の長の", 81, 137, 138, 80},
-       {"あなたは尊敬されているエントの賢者の", 91, 137, 138, 90},
-       {"あなたは今では追憶の中にしかいないエント女の", 96, 137, 138, 100},
-       {"あなたはファンゴルンその人の", 100, 137, 138, 110},
-#else
-       {"an Ent whose name you have no recollection of.  ", 10, 138, 139, 35},
-       {"a solitary Ent.  ", 35, 138, 139, 50},
-       {"a member of a farflung Entish band.  ", 55, 138, 139, 60},
-       {"a leader of a prosperous community of Ents.  ", 70, 138, 139, 70},
-       {"an Entish Forestwarden.  ", 81, 138, 139, 80},
-       {"a respected Entish sage.  ", 91, 138, 139, 90},
-       {"an Entwife whose memory men cherish.  ", 96, 138, 139, 100},
-       {"Fangorn himself.  ", 100, 138, 139, 110},
-#endif
-
-#ifdef JP
-       {"あなたは", 100, 139, 140, 50},
-#else
-       {"You have ", 100, 139, 140, 50},
-#endif
-
-#ifdef JP
-       {"三本の指を持ち、", 5, 140, 141, 50},
-       {"四本の指を持ち、", 20, 140, 141, 50},
-       {"五本の指を持ち、", 40, 140, 141, 50},
-       {"六本の指を持ち、", 60, 140, 141, 50},
-       {"七本の指を持ち、", 80, 140, 141, 50},
-       {"八本の指を持ち、", 95, 140, 141, 50},
-       {"九本の指を持ち、", 100, 140, 141, 50},
-#else
-       {"three fingers and toes, and are covered in ", 5, 140, 141, 50},
-       {"four fingers and toes, and are covered in ", 20, 140, 141, 50},
-       {"five fingers and toes, and are covered in ", 40, 140, 141, 50},
-       {"six fingers and toes, and are covered in ", 60, 140, 141, 50},
-       {"seven fingers and toes, and are covered in ", 80, 140, 141, 50},
-       {"eight fingers and toes, and are covered in ", 95, 140, 141, 50},
-       {"nine fingers and toes, and are covered in ", 100, 140, 141, 50},
-#endif
-#ifdef JP
-       {"茶色い鱗状の肌に覆われています。", 10, 141, 0, 50},
-       {"茶色の荒い肌に覆われています。", 20, 141, 0, 50},
-       {"灰色のなめらかな肌に覆われています。", 30, 141, 0, 50},
-       {"深いグリーンの肌に覆われています。", 40, 141, 0, 50},
-       {"苔で覆われた肌をしています。", 50, 141, 0, 50},
-       {"深いブラウンの肌に覆われています。", 60, 141, 0, 50},
-       {"パールブラウンのパサパサの肌に覆われています。", 70, 141, 0, 50},
-       {"チョコレート色の豊かな肌に覆われています。", 80, 141, 0, 50},
-       {"黒い筋状の肌に覆われています。", 90, 141, 0, 50},
-       {"ほとんどひからびた、厚い肌に覆われています。", 100, 141, 0, 50},
-#else
-       {"scaly brown skin.", 10, 141, 0, 50},
-       {"rough brown skin.", 20, 141, 0, 50},
-       {"smooth grey skin.", 30, 141, 0, 50},
-       {"dark green skin.", 40, 141, 0, 50},
-       {"mossy skin.", 50, 141, 0, 50},
-       {"deep brown skin.", 60, 141, 0, 50},
-       {"pale brown, flaky skin.", 70, 141, 0, 50},
-       {"rich chocolate-colored skin.", 80, 141, 0, 50},
-       {"ridged black skin.", 90, 141, 0, 50},
-       {"thick, almost corky skin.", 100, 141, 0, 50},
-#endif
-
-#ifdef JP
-       {"あなたは天界の主人です。", 100, 142, 143, 80},
-       {"あなたは悪を滅ぼすためにこの地に送られてきました。", 100, 143, 144, 80},
-       {"この目的を成し遂げるまでは休むことは許されません。", 100, 144, 0, 80},
-#else
-       {"You are of the blessed host of heaven.  ", 100, 142, 143, 80},
-       {"You have been sent to earth to eradicate the wicked, ", 100, 143, 144, 80},
-       {"and shall not rest until you have succeeded.", 100, 144, 0, 80},
-#endif
-
-#ifdef JP
-       {"あなたは地獄の呪われた子です。", 100, 145, 146, 20},
-       {"あなたはグレーター・デーモンの気まぐれによって生まれました。", 100, 146, 147, 20},
-       {"あなたは復讐の機会をうかがっています。", 100, 147, 0, 20},
-#else
-       {"You are of the cursed spawn of hell. ", 100, 145, 146, 20},
-       {"You have been cast out by the whim of the greater demons, ", 100, 146, 147, 20},
-       {"and now seek revenge.", 100, 147, 0, 20},
-#endif
 
 
-
-#ifdef JP
-       {"あなたは素性の知れない",  5, 148, 149, 25},
-       {"あなたは捕虜の", 20, 148, 149, 35},
-       {"あなたは戦士の", 40, 148, 149, 45},
-       {"あなたはレンジャーの", 50, 148, 149, 50},
-       {"あなたは書記の", 70, 148, 149, 65},
-       {"あなたは魔女の", 83, 148, 149, 75},
-       {"あなたは錬金術師の", 93, 148, 149, 90},
-       {"あなたは貴族の女性の", 98, 148, 149, 110},
-       {"あなたは女王の", 100, 148, 149, 140},
-#else
-       {"whose identity you are uncertain of.",  5, 149, 8, 25},
-       {"Captive.  ", 20, 149, 150, 35},
-       {"Fighter.  ", 40, 149, 150, 45},
-       {"Ranger.  ", 50, 149, 150, 50},
-       {"Scribe.  ", 70, 149, 150, 65},
-       {"Witch.  ", 83, 149, 150, 75},
-       {"Alchemist.  ", 93, 149, 150, 90},
-       {"Lady.  ", 98, 149, 150, 110},
-       {"Queen.  ", 100, 149, 150, 140},
-#endif
-#ifdef JP
-       {"影フェアリーの私生児です。", 10, 149, 150, 35},
-       {"影フェアリーの幾人かの子供のうちの一人です。", 30, 149, 150, 45},
-       {"影フェアリーの第二子です。", 55, 149, 150, 50},
-       {"影フェアリーの長子です。", 80, 149, 150, 55},
-       {"影フェアリーの一粒種です。", 100, 149, 150, 60},
-#else
-       {"You are the bastard child of a Shadow-Fairy ", 10, 148, 149, 35},
-       {"You are one of several children of a Shadow-Fairy ", 30, 148, 149, 45},
-       {"You are the second child of a Shadow-Fairy ", 55, 148, 149, 50},
-       {"You are the first child of a Shadow-Fairy ", 80, 148, 149, 55},
-       {"You are the only child of a Shadow-Fairy ", 100, 148, 149, 60},
-#endif
-
-
-#ifdef JP
-       {"あなたは黒い瞳と", 10, 150, 151, 50},
-       {"あなたは深いブラウンの瞳と", 25, 50, 151, 50},
-       {"あなたはブラウンの瞳と", 60, 150, 151, 50},
-       {"あなたは淡い色の瞳と", 70, 150, 151, 50},
-       {"あなたはグリーンの瞳と", 80, 150, 151, 50},
-       {"あなたは青い瞳と", 90, 150, 151, 50},
-       {"あなたはブルーグレイの瞳と", 100, 150, 151, 50},
-#else
-       {"You have black eyes, straight ", 10, 150, 151, 50},
-       {"You have dark brown eyes, straight ", 25, 50, 151, 50},
-       {"You have brown eyes, straight ", 60, 150, 151, 50},
-       {"You have hazel eyes, straight ", 70, 150, 151, 50},
-       {"You have green eyes, straight ", 80, 150, 151, 50},
-       {"You have blue eyes, straight ", 90, 150, 151, 50},
-       {"You have blue-gray eyes, straight ", 100, 150, 151, 50},
-#endif
-
-#ifdef JP
-       {"グレーの髪を持ち、", 30, 152, 153, 50},
-       {"純白の髪を持ち、", 70, 152, 153, 50},
-       {"パールイエローの髪を持ち、", 80, 152, 153, 50},
-       {"白がかった灰色の髪を持ち、", 90, 152, 153, 50},
-       {"パールブラウンの髪を持ち、", 100, 152, 153, 50},
-#else
-       {"grey hair ", 30, 151, 152, 50},
-       {"pure white hair ", 70, 151, 152, 50},
-       {"pale yellow hair ", 80, 151, 152, 50},
-       {"grey-white hair ", 90, 151, 152, 50},
-       {"pale brown hair ", 100, 151, 152, 50},
-#endif
-
-#ifdef JP
-       {"わずかに肩にかかるくらいのなめらかな", 30, 151, 152, 50},
-       {"腕まで届くくらいのなめらかな", 60, 151, 152, 55},
-       {"腰まであるなめらかな", 90, 151, 152, 60},
-       {"頭から足まで輝く滝のようになめらかな", 100, 151, 152, 75},
-#else
-       {"that barely covers your shoulders, ", 30, 152, 153, 50},
-       {"that reaches to your arms, ", 60, 152, 153, 55},
-       {"that flows down to your waist, ", 90, 152, 153, 60},
-       {"that forms a shining waterfall from head to foot, ", 100, 152, 153, 75},
-#endif
-
-#ifdef JP
-       {"透き通るような白い肌をしています。", 20, 153, 0, 50},
-       {"ミルク色の肌をしています。", 35, 153, 0, 50},
-       {"真珠色の肌をしています。", 50, 153, 0, 50},
-       {"青白い肌をしています。", 85, 153, 0, 50},
-       {"白い肌をしています。", 100, 153, 0, 50},
-#else
-       {"and an extremely fair complexion.", 20, 153, 0, 50},
-       {"and a milky complexion.", 35, 153, 0, 50},
-       {"and a pearly complexion.", 50, 153, 0, 50},
-       {"and a pale complexion.", 85, 153, 0, 50},
-       {"and an utterly white complexion.", 100, 153, 0, 50},
-#endif
-
-#ifdef JP
-       {"あなたは普段ザクザクデザートで遊んでいる、", 4, 154, 159, 50},
-       {"あなたは普段グラグラタワーで遊んでいる、", 8, 154, 159, 50},
-       {"あなたは普段ホヘホヘ峡谷で遊んでいる、", 12, 154, 159, 50},
-       {"あなたは普段ドプドプ池で遊んでいる、", 16, 154, 159, 50},
-       {"あなたは普段テクテク雑技場で遊んでいる、", 20, 154, 159, 50},
-       {"あなたは普段フムフム畑で遊んでいる、", 24, 154, 159, 50},
-       {"あなたは普段クノクノ滝で遊んでいる、", 28, 154, 159, 50},
-       {"あなたは普段クリクリ川で遊んでいる、", 32, 154, 159, 50},
-       {"あなたは普段テリテリキャンプ場で遊んでいる、", 36, 154, 159, 50},
-       {"あなたは普段クター像前で遊んでいる、", 40, 154, 159, 50},
-       {"あなたは普段テクノ湯で遊んでいる、", 44, 154, 159, 50},
-       {"あなたは普段テクノアイランドで遊んでいる、", 48, 154, 159, 50},
-       {"あなたは普段テクノマリンで遊んでいる、", 52, 154, 159, 50},
-       {"あなたは普段テクノドームで遊んでいる、", 56, 154, 159, 50},
-       {"あなたは普段テクノホールで遊んでいる、", 60, 154, 159, 50},
-       {"あなたは普段テクノ高原で遊んでいる、", 64, 154, 159, 50},
-       {"あなたは普段テクノ市民会館で遊んでいる、", 68, 154, 159, 50},
-       {"あなたは普段テクノ公園で遊んでいる、", 72, 154, 159, 50},
-       {"あなたは普段スイスイアルプスで遊んでいる、", 76, 154, 159, 65},
-       {"あなたは普段ヒソヒソ森で遊んでいる、", 80, 154, 159, 65},
-       {"あなたは普段テクノ生態研究所で遊んでいる、", 84, 154, 159, 65},
-       {"あなたは普段テクノロケット発射台で遊んでいる、", 88, 154, 159, 65},
-       {"あなたは普段チャイナウォールで遊んでいる、", 92, 154, 159, 65},
-       {"あなたは普段スペースウォールで遊んでいる、", 96, 154, 159, 70},
-       {"あなたは普段テクノリゾートホテルで遊んでいる、", 100, 154, 159, 75},
-
-       {"普通のクターです。", 70, 159, 160, 50},
-       {"みんなが頼りにしている親クターです。", 85, 159, 160, 65},
-       {"笹が大好物なパンダクターです。", 92, 159, 161, 75},
-       {"とても珍しいトラクターです。", 96, 159, 162, 80},
-       {"とても珍しいピカクターです。", 100, 159, 163, 90},
-
-       {"あなたは赤色の毛をもち、", 6, 160, 164, 50},
-       {"あなたはクリーム色の毛をもち、", 12, 160, 164, 50},
-       {"あなたは黄土色の毛をもち、", 18, 160, 164, 50},
-       {"あなたは黄色の毛をもち、", 24, 160, 164, 50},
-       {"あなたは黄緑色の毛をもち、", 30, 160, 164, 50},
-       {"あなたは抹茶色の毛をもち、", 36, 160, 164, 50},
-       {"あなたは濃い緑色の毛をもち、", 42, 160, 164, 50},
-       {"あなたは青緑色の毛をもち、", 48, 160, 164, 50},
-       {"あなたは水色の毛をもち、", 54, 160, 164, 50},
-       {"あなたは薄い紫色の毛をもち、", 60, 160, 164, 50},
-       {"あなたは紫色の毛をもち、", 65, 160, 164, 50},
-       {"あなたは茜色の毛をもち、", 70, 160, 164, 60},
-       {"あなたはピンク色の毛をもち、", 75, 160, 164, 60},
-       {"あなたは白色の毛をもち、", 80, 160, 164, 60},
-       {"あなたは青色の毛をもち、", 85, 160, 164, 65},
-       {"あなたは黒色の毛をもち、", 90, 160, 164, 65},
-       {"あなたは緑色の毛をもち、", 95, 160, 164, 65},
-       {"あなたは橙色の毛をもち、", 100, 160, 164, 70},
-       {"あなたはパンダのような白と黒の斑模様の毛をもち、", 100, 161, 164, 70},
-       {"あなたはトラのような黄と黒の縞模様の毛をもち、", 100, 162, 164, 70},
-       {"あなたは明るく輝いていて、", 100, 163, 164, 70},
-
-       {"マフラーを宝物にしています。", 4, 164, 0, 50},
-       {"ライターを宝物にしています。", 8, 164, 0, 50},
-       {"リモコンを宝物にしています。", 12, 164, 0, 50},
-       {"手ぬぐいを宝物にしています。", 16, 164, 0, 50},
-       {"牛乳ビンを宝物にしています。", 20, 164, 0, 50},
-       {"ビンのふたを宝物にしています。", 24, 164, 0, 50},
-       {"野球帽を宝物にしています。", 28, 164, 0, 50},
-       {"浮き輪を宝物にしています。", 32, 164, 0, 50},
-       {"バットを宝物にしています。", 36, 164, 0, 50},
-       {"大根を宝物にしています。", 40, 164, 0, 50},
-       {"リュックサックを宝物にしています。", 44, 164, 0, 50},
-       {"将棋盤を宝物にしています。", 48, 164, 0, 50},
-       {"将棋の駒を宝物にしています。", 52, 164, 0, 50},
-       {"傘を宝物にしています。", 56, 164, 0, 50},
-       {"やかんを宝物にしています。", 60, 164, 0, 50},
-       {"ほうきを宝物にしています。", 64, 164, 0, 50},
-       {"ティッシュ箱を宝物にしています。", 68, 164, 0, 50},
-       {"ダルマを宝物にしています。", 71, 164, 0, 50},
-       {"ニンジンを宝物にしています。", 75, 164, 0, 60},
-       {"ホルンを宝物にしています。", 79, 164, 0, 60},
-       {"みかん箱を宝物にしています。", 83, 164, 0, 60},
-       {"宝箱を宝物にしています。", 86, 164, 0, 60},
-       {"テンガロンハットを宝物にしています。", 90, 164, 0, 60},
-       {"アフロを宝物にしています。", 94, 164, 0, 65},
-       {"しゃけを宝物にしています。", 97, 164, 0, 65},
-       {"39ボウヤを宝物にしています。", 100, 164, 0, 70},
-
-#else
-       {"You are a normal Kutar.  You have orange colored fur.", 65, 154, 0, 55},
-       {"You are a father Kutar, the patriarch of many normal Kutars.  You have green colored fur.", 95, 154, 0, 65},
-       {"You are a very rare type of Kutar, famed for the yellow and black stripes on your body.", 100, 154, 0, 80},
-#endif
-
-#ifdef JP
-       {"あなたはあるプロジェクトの試作品として", 10, 155, 156, 50},
-       {"あなたは子供を教育するために", 30, 155, 156, 60},
-       {"あなたは身の回りの世話をするために", 50, 155, 156, 70},
-       {"あなたは亡くなった子供の身代わりとして", 60, 155, 156, 10},
-       {"あなたは戦闘用アンドロイドとして", 90, 155, 156, 20},
-       {"あなたは世界征服のための道具として", 100, 155, 156, 10},
-
-       {"気の狂った科学者によって作られました。", 20, 156, 157, 10},
-       {"企業の研究所で作られました。", 50, 156, 157, 80},
-       {"平和を願う科学者によって作られました。", 85, 156, 157, 50},
-       {"一人の天才少年によって作られました。", 90, 156, 157, 30},
-       {"22世紀からやって来ました。", 100, 156, 157, 100},
-
-       {"ネコのような形をして", 15, 157, 158, 40},
-       {"イヌのような形をして", 30, 157, 158, 30},
-       {"クターのような形をして", 45, 157, 158, 20},
-       {"人間のような形をして", 70, 157, 158, 60},
-       {"ドワーフのような形をして", 80, 157, 158, 70},
-       {"ホビットのような形をして", 90, 157, 158, 70},
-       {"エルフのような形をして", 100, 157, 158,  80},
-
-       {"いますが、耳はネズミにかじられてなくなっています。", 5, 158, 0, 20},
-       {"いると作者は主張していますが、とてもそうは見えません。", 20, 158, 0, 30},
-       {"います。", 85, 158, 0, 50},
-       {"いて、本人は自分のことを本物だと信じています。", 95, 158, 0, 50},
-       {"いて、非常によくできているので本物と見分けがつきません。", 100, 158, 0, 100},
-#else
-       {"You were created by a mad scientist ", 20, 155, 156, 10},
-       {"You were created in a corporate laboratory ", 50, 155, 156, 80},
-       {"You were created by a peace-loving scientist ", 85, 155, 156, 50},
-       {"You were created by a boy genius ", 90, 155, 156, 30},
-       {"You have come from the twenty-second century ", 100, 155, 156, 100},
-
-       {"as a project prototype. ", 10, 156, 157, 50},
-       {"to educate children. ", 30, 156, 157, 60},
-       {"to look after someone. ", 50, 156, 157, 70},
-       {"as a substitute for a dead child. ", 60, 156, 157, 10},
-       {"as a combat trooper. ", 90, 156, 157, 20},
-       {"as a tool for conquest of the world. ", 100, 156, 157, 10},
-
-
-       {"You have a cat-like appearance", 15, 157, 158, 40},
-       {"You have a dog-like appearance", 30, 157, 158, 30},
-       {"You have a Kutar-like appearance", 45, 157, 158, 20},
-       {"You have a human-like appearance", 70, 157, 158, 60},
-       {"You have a dwarf-like appearance", 80, 157, 158, 70},
-       {"You have a hobbit-like appearance", 90, 157, 158, 70},
-       {"You have a elf-like appearance", 100, 157, 158,  80},
-
-       {", but your ears have been eaten by mice, and no trace of them remains.", 5, 158, 0, 20},
-       {"... at least your creator thinks so.  Most people disagree.", 20, 158, 0, 30},
-       {".", 85, 158, 0, 50},
-       {", and you firmly believe that you are a real one.", 95, 158, 0, 50},
-       {", and you are almost indistinguishable from a real one.", 100, 158, 0, 100},
-#endif
-};
-
 /*! 種族の解説メッセージテーブル */
-static cptr race_jouhou[MAX_RACES] =
+static concptr race_jouhou[MAX_RACES] =
 {
 #ifdef JP
 "人間は基本となるキャラクタです。他の全ての種族は人間と比較されます。人間はどんな職業に就くこともでき、どの職業でも平均的にこなせます。人間は寿命が短いため、レベル上昇が他のどんな種族よりも早くなる傾向があります。また、特別な修正や特性は持っていません。",
@@ -1691,7 +120,9 @@ static cptr race_jouhou[MAX_RACES] =
   
 "クターとしている無表情の謎の生物です。彼らは外見がかわいらしいため、魅力が高いです。彼らは混乱しません。なぜなら、混乱してもクターとしているため変わりないからです。しかも、そのクターとしている外見から敵に見つかりにくいです。しかし、彼らは注意力が少ないため探索や知覚能力は悪いです。彼らはレベルが上がると横に伸びてACを上げる技を覚えますが、伸びている間は魔法防御能力は低くなってしまいます。",
   
-"アンドロイドは機械の身体を持つ人工的な存在です。魔法をうまく使うことはできませんが、戦士としては非常に優れています。彼らは他の種族のように経験値を得て成長するということはありません。身体に身につける装備によって成長します。ただし、指輪、アミュレット、光源は成長に影響しません。彼らは毒の耐性を持ち、麻痺知らずで、生命力を吸収されることがありません。また、身体が頑丈なのでACにボーナスを得ます。しかし身体のいたるところに電子回路が組み込まれているため、電撃によって通常よりも大きなダメージを受けてしまいます。彼らは食物からほとんど動力を得られませんが、油を補給する事で動力源を得る事ができます。"
+"アンドロイドは機械の身体を持つ人工的な存在です。魔法をうまく使うことはできませんが、戦士としては非常に優れています。彼らは他の種族のように経験値を得て成長するということはありません。身体に身につける装備によって成長します。ただし、指輪、アミュレット、光源は成長に影響しません。彼らは毒の耐性を持ち、麻痺知らずで、生命力を吸収されることがありません。また、身体が頑丈なのでACにボーナスを得ます。しかし身体のいたるところに電子回路が組み込まれているため、電撃によって通常よりも大きなダメージを受けてしまいます。彼らは食物からほとんど動力を得られませんが、油を補給する事で動力源を得る事ができます。",
+
+"マーフォーク実装中",
 
 #else
 
@@ -1769,11 +200,13 @@ static cptr race_jouhou[MAX_RACES] =
 
 "An android is a artificial creation with a body of machinery.  They are poor at spell casting, but they make excellent warriors.  They don't acquire experience like other races, but rather gain in power as they attach new equipment to their frame.  Rings, amulets, and lights do not influence growth.  Androids are resistant to poison, can move freely, and are immune to exp-draining attacks.  Moreover, because of their hard metallic bodies, they get a bonus to AC.  Androids have electronic circuits throughout their body and must beware of electric shocks.  They gain very little nutrition from the food of mortals, but they can use flasks of oil as their energy source."
 
+"Merfolk implementing.",
+
 #endif
 };
 
 /*! 職業の解説メッセージテーブル */
-static cptr class_jouhou[MAX_CLASS] =
+static concptr class_jouhou[MAX_CLASS] =
 {
 #ifdef JP
 "戦士は、直面する問題のほとんどを細切れに叩き切ることで解決するキャラクタです。が、時折退却して魔法の道具の世話になることもあります。不運にも、高レベルなアイテムの多くは彼らが扱える範囲を越えています。",
@@ -1893,7 +326,7 @@ static cptr class_jouhou[MAX_CLASS] =
 };
 
 /*! 性格の解説メッセージテーブル */
-static cptr seikaku_jouhou[MAX_SEIKAKU] =
+static concptr seikaku_jouhou[MAX_SEIKAKU] =
 {
 #ifdef JP
 "ふつうは、特に特筆するべき部分がない性格です。あらゆる技能を平均的にこなします。",
@@ -1920,6 +353,8 @@ static cptr seikaku_jouhou[MAX_SEIKAKU] =
 
 "いかさまは、初心者の練習用の性格です。あらゆる能力が高くなっています。この性格を使えば勝利者になることは容易ですが、勝利しても全く自慢になりません。",
 
+"チャージマンは「こんなところ」に連れて行かれても仕方のない可愛そうなお友達なんDA。腕っ節やタフさはマンモス並みに強いのだけれど知能面はまるで駄目なのが分かるだろう?この性格は最初から気が狂っているので、混乱したり幻覚を見る心配がないのです。",
+
 #else
 
 "\"Ordinary\" is a personality with no special skills or talents, with unmodified stats and skills.",
@@ -1945,12 +380,15 @@ static cptr seikaku_jouhou[MAX_SEIKAKU] =
 
 "A \"Patient\" person does things carefully.  Patient people have high constitution, and high resilience, but poor abilities in most other skills.  Also it directly influences your hit-points.",
 
-"\"munchkin\" is a personality for beginners.  It raises all your stats and skills.  With this personality, you can win the game easily, but gain little honor in doing so."
+"\"munchkin\" is a personality for beginners.  It raises all your stats and skills.  With this personality, you can win the game easily, but gain little honor in doing so.",
+
+"\ChargeMan\" is crazy killer. It render you powerfull strength and constitution, but poor intelligence.you are not confused and seen the illusion because this you go mad from the beginning.",
+
 #endif
 };
 
 /*! 魔法領域の詳細解説メッセージテーブル */
-static cptr realm_jouhou[VALID_REALM] =
+static concptr realm_jouhou[VALID_REALM] =
 {
 #ifdef JP
 "生命は回復能力に優れた魔法です。治療や防御、感知魔法が多く含まれていますが、攻撃呪文もわずかに持っています。特に高レベルの呪文にはアンデッドを塵に帰す力をあると言われています。",
@@ -2009,7 +447,7 @@ static cptr realm_jouhou[VALID_REALM] =
 };
 
 /*! 魔法領域の簡易解説メッセージテーブル */
-static cptr realm_subinfo[VALID_REALM] =
+static concptr realm_subinfo[VALID_REALM] =
 {
 #ifdef JP
 "感知と防御と回復に優れています",
@@ -2075,15 +513,10 @@ static void birth_quit(void)
  * @param helpfile ファイル名
  * @return なし
  */
-static void show_help(cptr helpfile)
+static void show_help(concptr helpfile)
 {
-       /* Save screen */
        screen_save();
-
-       /* Peruse the help file */
        (void)show_file(TRUE, helpfile, NULL, 0, 0);
-
-       /* Load screen */
        screen_load();
 }
 
@@ -2194,14 +627,10 @@ static byte choose_realm(s32b choices, int *count)
        }
 
        /* Extra info */
-#ifdef JP
-       put_str ("注意:魔法の領域の選択によりあなたが習得する呪文のタイプが決まります。", 23, 5);
-#else
-       put_str ("Note: The realm of magic will determine which spells you can learn.", 23, 5);
-#endif
+       put_str (_("注意:魔法の領域の選択によりあなたが習得する呪文のタイプが決まります。", "Note: The realm of magic will determine which spells you can learn."), 23, 5);
 
        cs = 0;
-       for (i = 0; i<32; i++)
+       for (i = 0; i < 32; i++)
        {
                /* Analize realms */
                if (choices & (1L << i))
@@ -2223,11 +652,7 @@ static byte choose_realm(s32b choices, int *count)
                        picks[n++] = i+1;
                }
        }
-#ifdef JP
-       sprintf(cur, "%c%c %s", '*', p2, "ランダム");
-#else
-       sprintf(cur, "%c%c %s", '*', p2, "Random");
-#endif
+       sprintf(cur, "%c%c %s", '*', p2, _("ランダム", "Random"));
 
        /* Get a realm */
        k = -1;
@@ -2242,11 +667,7 @@ static byte choose_realm(s32b choices, int *count)
 
                        if(cs == n)
                        {
-#ifdef JP
-                               sprintf(cur, "%c%c %s", '*', p2, "ランダム");
-#else
-                               sprintf(cur, "%c%c %s", '*', p2, "Random");
-#endif
+                               sprintf(cur, "%c%c %s", '*', p2, _("ランダム", "Random"));
                        }
                        else
                        {
@@ -2267,11 +688,7 @@ static byte choose_realm(s32b choices, int *count)
 
                if (k >= 0) break;
 
-#ifdef JP
-               sprintf(buf, "領域を選んで下さい(%c-%c) ('='初期オプション設定): ", sym[0], sym[n-1]);
-#else
-               sprintf(buf, "Choose a realm (%c-%c) ('=' for options): ", sym[0], sym[n-1]);
-#endif
+               sprintf(buf, _("領域を選んで下さい(%c-%c) ('='初期オプション設定): ", "Choose a realm (%c-%c) ('=' for options): "), sym[0], sym[n-1]);
 
                put_str(buf, 10, 10);
                c = inkey();
@@ -2326,20 +743,12 @@ static byte choose_realm(s32b choices, int *count)
                else k = -1;
                if (c == '?')
                {
-#ifdef JP
-                       show_help("jmagic.txt#MagicRealms");
-#else
-                       show_help("magic.txt#MagicRealms");
-#endif
+                       show_help(_("jmagic.txt#MagicRealms", "magic.txt#MagicRealms"));
                }
                else if (c == '=')
                {
                        screen_save();
-#ifdef JP
-                       do_cmd_options_aux(OPT_PAGE_BIRTH, "初期オプション((*)はスコアに影響)");
-#else
-                       do_cmd_options_aux(OPT_PAGE_BIRTH, "Birth option((*)s effect score)");
-#endif
+                       do_cmd_options_aux(OPT_PAGE_BIRTH, _("初期オプション((*)はスコアに影響)", "Birth option((*)s effect score)"));
 
                        screen_load();
                }
@@ -2349,7 +758,7 @@ static byte choose_realm(s32b choices, int *count)
        /* Clean up */
        clear_from(10);
 
-       return (picks[k]);
+       return (byte_hack)(picks[k]);
 }
 
 
@@ -2372,7 +781,7 @@ static bool get_player_realms(void)
        while (1)
        {
                char temp[80*10];
-               cptr t;
+               concptr t;
                count = 0;
                p_ptr->realm1 = choose_realm(realm_choices1[p_ptr->pclass], &count);
 
@@ -2400,21 +809,12 @@ static bool get_player_realms(void)
 
                if (count < 2)
                {
-#ifdef JP
-                       prt("何かキーを押してください", 0, 0);
-#else
-                       prt("Hit any key.", 0, 0);
-#endif
+                       prt(_("何かキーを押してください", "Hit any key."), 0, 0);
                        (void)inkey();
                        prt("", 0, 0);
                        break;
                }
-else
-#ifdef JP
-               if (get_check_strict("よろしいですか?", CHECK_DEFAULT_Y)) break;
-#else
-               if (get_check_strict("Are you sure? ", CHECK_DEFAULT_Y)) break;
-#endif
+               else if (get_check_strict(_("よろしいですか?", "Are you sure? "), CHECK_DEFAULT_Y)) break;
        }
 
        /* Select the second realm */
@@ -2422,19 +822,14 @@ else
        if (p_ptr->realm1)
        {
                /* Print the realm */
-#ifdef JP
-               put_str("魔法        :", 6, 1);
-#else
-               put_str("Magic       :", 6, 1);
-#endif
-
+               put_str(_("魔法        :", "Magic       :"), 6, 1);
                c_put_str(TERM_L_BLUE, realm_names[p_ptr->realm1], 6, 15);
 
                /* Select the second realm */
                while (1)
                {
                        char temp[80*8];
-                       cptr t;
+                       concptr t;
 
                        count = 0;
                        p_ptr->realm2 = choose_realm(realm_choices2[p_ptr->pclass], &count);
@@ -2450,7 +845,7 @@ else
 
                        roff_to_buf(realm_jouhou[technic2magic(p_ptr->realm2)-1], 74, temp, sizeof(temp));
                        t = temp;
-                       for (i = 0; i< 6; i++)
+                       for (i = 0; i < A_MAX; i++)
                        {
                                if(t[0] == 0)
                                        break; 
@@ -2463,20 +858,12 @@ else
 
                        if (count < 2)
                        {
-#ifdef JP
-                               prt("何かキーを押してください", 0, 0);
-#else
-                               prt("Hit any key.", 0, 0);
-#endif
+                               prt(_("何かキーを押してください", "Hit any key."), 0, 0);
                                (void)inkey();
                                prt("", 0, 0);
                                break;
                        }
-#ifdef JP
-                       else if (get_check_strict("よろしいですか?", CHECK_DEFAULT_Y)) break;
-#else
-                       else if (get_check_strict("Are you sure? ", CHECK_DEFAULT_Y)) break;
-#endif
+                       else if (get_check_strict(_("よろしいですか?", "Are you sure? "), CHECK_DEFAULT_Y)) break;
                }
                if (p_ptr->realm2)
                {
@@ -2512,7 +899,7 @@ static void save_prev_data(birther *birther_ptr)
        birther_ptr->au = p_ptr->au;
 
        /* Save the stats */
-       for (i = 0; i < 6; i++)
+       for (i = 0; i < A_MAX; i++)
        {
                birther_ptr->stat_max[i] = p_ptr->stat_max[i];
                birther_ptr->stat_max_max[i] = p_ptr->stat_max_max[i];
@@ -2571,7 +958,7 @@ static void load_prev_data(bool swap)
        p_ptr->au = previous_char.au;
 
        /* Load the stats */
-       for (i = 0; i < 6; i++)
+       for (i = 0; i < A_MAX; i++)
        {
                p_ptr->stat_cur[i] = p_ptr->stat_max[i] = previous_char.stat_max[i];
                p_ptr->stat_max_max[i] = previous_char.stat_max_max[i];
@@ -2682,7 +1069,7 @@ static void get_stats(void)
                for (i = 0; i < 2; i++)
                {
                        s32b tmp = randint0(60*60*60);
-                       int val;
+                       BASE_STATUS val;
 
                        /* Extract 5 + 1d3 + 1d4 + 1d5 */
                        val = 5 + 3;
@@ -2708,7 +1095,7 @@ static void get_stats(void)
                        val = 5 + 3;
                        val += tmp % 3; tmp /= 3;
                        val += tmp % 4; tmp /= 4;
-                       val += tmp;
+                       val += (BASE_STATUS)tmp;
 
                        /* Save that value */
                        sum += val;
@@ -2727,15 +1114,14 @@ static void get_stats(void)
  */
 void get_max_stats(void)
 {
-       int             i, j;
-
-       int             dice[6];
+       int i, j;
+       int dice[6];
 
        /* Roll and verify some stats */
        while (TRUE)
        {
                /* Roll some dice */
-               for (j = i = 0; i < 6; i++)
+               for (j = i = 0; i < A_MAX; i++)
                {
                        /* Roll the dice */
                        dice[i] = randint1(7);
@@ -2749,16 +1135,16 @@ void get_max_stats(void)
        }
 
        /* Acquire the stats */
-       for (i = 0; i < 6; i++)
+       for (i = 0; i < A_MAX; i++)
        {
-               j = 18 + 60 + dice[i]*10;
+               BASE_STATUS max_max = 18 + 60 + dice[i]*10;
 
                /* Save that value */
-               p_ptr->stat_max_max[i] = j;
-               if (p_ptr->stat_max[i] > j)
-                       p_ptr->stat_max[i] = j;
-               if (p_ptr->stat_cur[i] > j)
-                       p_ptr->stat_cur[i] = j;
+               p_ptr->stat_max_max[i] = max_max;
+               if (p_ptr->stat_max[i] > max_max)
+                       p_ptr->stat_max[i] = max_max;
+               if (p_ptr->stat_cur[i] > max_max)
+                       p_ptr->stat_cur[i] = max_max;
        }
        p_ptr->knowledge &= ~(KNOW_STAT);
 
@@ -2852,6 +1238,7 @@ static void get_history(void)
                case RACE_HUMAN:
                case RACE_BARBARIAN:
                case RACE_DUNADAN:
+               case RACE_MERFOLK:
                {
                        chart = 1;
                        break;
@@ -3054,7 +1441,7 @@ static void get_history(void)
        else if (social_class < 1) social_class = 1;
 
        /* Save the social class */
-       p_ptr->sc = social_class;
+       p_ptr->sc = (s16b)social_class;
 
 
        /* Skip leading spaces */
@@ -3134,7 +1521,7 @@ static void get_money(void)
          gold += 2000;
 
        /* Process the stats */
-       for (i = 0; i < 6; i++)
+       for (i = 0; i < A_MAX; i++)
        {
                /* Mega-Hack -- reduce gold for high stats */
                if (p_ptr->stat_max[i] >= 18 + 50) gold -= 300;
@@ -3167,7 +1554,7 @@ static void birth_put_stats(void)
 {
        int i, j, m, p;
        int col;
-       byte attr;
+       TERM_COLOR attr;
        char buf[80];
 
 
@@ -3175,7 +1562,7 @@ static void birth_put_stats(void)
        {
                col = 42;
                /* Put the stats (and percents) */
-               for (i = 0; i < 6; i++)
+               for (i = 0; i < A_MAX; i++)
                {
                        /* Race/Class bonus */
                        j = rp_ptr->r_adj[i] + cp_ptr->c_adj[i] + ap_ptr->a_adj[i];
@@ -3208,12 +1595,7 @@ static void birth_put_stats(void)
                        /* Never happened */
                        else
                        {
-#ifdef JP
-                               c_put_str(TERM_RED, "(なし)", 3+i, col+13);
-#else
-                               c_put_str(TERM_RED, "(NONE)", 3+i, col+13);
-#endif
-
+                               c_put_str(TERM_RED, _("(なし)", "(NONE)"), 3+i, col+13);
                        }
                }
        }
@@ -3267,7 +1649,7 @@ static void player_wipe_without_name(void)
        }
 
        /* Wipe the quests */
-       for (i = 0; i < max_quests; i++)
+       for (i = 0; i < max_q_idx; i++)
        {
                quest_type* const q_ptr = &quest[i];
                
@@ -3363,6 +1745,8 @@ static void player_wipe_without_name(void)
        cheat_know = FALSE;
        cheat_live = FALSE;
        cheat_save = FALSE;
+       cheat_diary_output = FALSE;
+       cheat_turn = FALSE;
 
        /* Assume no winning game */
        p_ptr->total_winner = FALSE;
@@ -3429,15 +1813,15 @@ static void player_wipe_without_name(void)
        /* Reset virtues*/
        for (i = 0; i < 8; i++) p_ptr->virtues[i]=0;
 
+       dungeon_type = 0;
+
        /* Set the recall dungeon accordingly */
-       if (vanilla_town)
+       if (vanilla_town || ironman_downward)
        {
-               dungeon_type = 0;
                p_ptr->recall_dungeon = DUNGEON_ANGBAND;
        }
        else
        {
-               dungeon_type = 0;
                p_ptr->recall_dungeon = DUNGEON_GALGALS;
        }
 
@@ -3446,76 +1830,6 @@ static void player_wipe_without_name(void)
 }
 
 
-/*!
- * @brief モンスターがクエストの討伐対象に成り得るかを返す / Hook function for quest monsters
- * @param r_idx モンスターID
- * @return 討伐対象にできるならTRUEを返す。
- */
-static bool mon_hook_quest(int r_idx)
-{
-       monster_race *r_ptr = &r_info[r_idx];
-
-       /* Random quests are in the dungeon */
-       if (r_ptr->flags8 & RF8_WILD_ONLY) return FALSE;
-
-       /* No random quests for aquatic monsters */
-       if (r_ptr->flags7 & RF7_AQUATIC) return FALSE;
-
-       /* No random quests for multiplying monsters */
-       if (r_ptr->flags2 & RF2_MULTIPLY) return FALSE;
-
-       /* No quests to kill friendly monsters */
-       if (r_ptr->flags7 & RF7_FRIENDLY) return FALSE;
-
-       return TRUE;
-}
-
-
-/*!
- * @brief ランダムクエストの討伐ユニークを決める / Determine the random quest uniques
- * @param q_ptr クエスト構造体の参照ポインタ
- * @return なし
- */
-void determine_random_questor(quest_type *q_ptr)
-{
-       int          r_idx;
-       monster_race *r_ptr;
-
-       /* Prepare allocation table */
-       get_mon_num_prep(mon_hook_quest, NULL);
-
-       while (1)
-       {
-               /*
-                * Random monster 5 - 10 levels out of depth
-                * (depending on level)
-                */
-               r_idx = get_mon_num(q_ptr->level + 5 + randint1(q_ptr->level / 10));
-               r_ptr = &r_info[r_idx];
-
-               if (!(r_ptr->flags1 & RF1_UNIQUE)) continue;
-
-               if (r_ptr->flags1 & RF1_QUESTOR) continue;
-
-               if (r_ptr->rarity > 100) continue;
-
-               if (r_ptr->flags7 & RF7_FRIENDLY) continue;
-
-               if (r_ptr->flags7 & RF7_AQUATIC) continue;
-
-               if (r_ptr->flags8 & RF8_WILD_ONLY) continue;
-
-               if (no_questor_or_bounty_uniques(r_idx)) continue;
-
-               /*
-                * Accept monsters that are 2 - 6 levels
-                * out of depth depending on the quest level
-                */
-               if (r_ptr->level > (q_ptr->level + (q_ptr->level / 20))) break;
-       }
-
-       q_ptr->r_idx = r_idx;
-}
 
 /*!
  * @brief ダンジョン内部のクエストを初期化する / Initialize random quests and final quests
@@ -3537,8 +1851,8 @@ static void init_dungeon_quests(void)
        /* Generate quests */
        for (i = MIN_RANDOM_QUEST + number_of_quests - 1; i >= MIN_RANDOM_QUEST; i--)
        {
-               quest_type      *q_ptr = &quest[i];
-               monster_race    *quest_r_ptr;
+               quest_type *q_ptr = &quest[i];
+               monster_race *quest_r_ptr;
 
                q_ptr->status = QUEST_STATUS_TAKEN;
                determine_random_questor(q_ptr);
@@ -3605,7 +1919,7 @@ static void wield_all(void)
        object_type object_type_body; 
  
        int slot; 
-       int item; 
+       INVENTORY_IDX item; 
  
        /* Scan through the slots backwards */ 
        for (item = INVEN_PACK - 1; item >= 0; item--) 
@@ -3621,11 +1935,8 @@ static void wield_all(void)
                if (slot == INVEN_LITE) continue; /* Does not wield toaches because buys a lantern soon */
                if (inventory[slot].k_idx) continue; 
  
-               /* Get local object */ 
                i_ptr = &object_type_body; 
                object_copy(i_ptr, o_ptr); 
-               /* Modify quantity */ 
                i_ptr->number = 1; 
  
                /* Decrease the item (from the pack) */ 
@@ -3642,14 +1953,9 @@ static void wield_all(void)
                        floor_item_optimize(0 - item); 
                } 
  
-               /* Get the wield slot */ 
                o_ptr = &inventory[slot]; 
-               /* Wear the new stuff */ 
-               object_copy(o_ptr, i_ptr); 
-               /* Increase the weight */ 
-               p_ptr->total_weight += i_ptr->weight; 
+               object_copy(o_ptr, i_ptr); 
+               p_ptr->total_weight += i_ptr->weight; 
  
                /* Increment the equip counter by hand */ 
                equip_cnt++;
@@ -3861,22 +2167,6 @@ static byte player_init[MAX_CLASS][3][2] =
 };
 
 /*!
- * @brief バルログが死体を食べられるモンスターかの判定 / Hook function for human corpses
- * @param r_idx モンスターID
- * @return 死体を食べられるならTRUEを返す。
- */
-static bool monster_hook_human(int r_idx)
-{
-       monster_race *r_ptr = &r_info[r_idx];
-
-       if (r_ptr->flags1 & (RF1_UNIQUE)) return FALSE;
-
-       if (my_strchr("pht", r_ptr->d_char)) return TRUE;
-
-       return FALSE;
-}
-
-/*!
  * @brief 初期所持アイテムの処理 / Add an outfit object
  * @details アイテムを既知のものとした上でwield_all()関数により装備させる。
  * @param o_ptr 処理したいオブジェクト構造体の参照ポインタ
@@ -3905,13 +2195,13 @@ static void add_outfit(object_type *o_ptr)
  */
 void player_outfit(void)
 {
-       int i, tv, sv;
+       int i;
+       OBJECT_TYPE_VALUE tv;
+       OBJECT_SUBTYPE_VALUE sv;
 
        object_type     forge;
        object_type     *q_ptr;
 
-
-       /* Get local object */
        q_ptr = &forge;
 
        /* Give the player some food */
@@ -3924,27 +2214,20 @@ void player_outfit(void)
 
        case RACE_DEMON:
                /* Demon can drain vitality from humanoid corpse */
-
-               /* Prepare allocation table */
                get_mon_num_prep(monster_hook_human, NULL);
 
                for (i = rand_range(3,4); i > 0; i--)
                {
                        object_prep(q_ptr, lookup_kind(TV_CORPSE, SV_CORPSE));
                        q_ptr->pval = get_mon_num(2);
-                       q_ptr->number = 1;
-                       add_outfit(q_ptr);
+                       if(q_ptr->pval)
+                       {
+                               q_ptr->number = 1;
+                               add_outfit(q_ptr);
+                       }
                }
                break;
 
-#if 0
-       case RACE_SKELETON:
-               /* Some Skeletons */
-               object_prep(q_ptr, lookup_kind(TV_SKELETON, SV_ANY));
-               q_ptr->number = (byte)rand_range(7, 12);
-               add_outfit(q_ptr);
-               break;
-#endif
        case RACE_SKELETON:
        case RACE_GOLEM:
        case RACE_ZOMBIE:
@@ -3959,7 +2242,7 @@ void player_outfit(void)
        case RACE_ENT:
                /* Potions of Water */
                object_prep(q_ptr, lookup_kind(TV_POTION, SV_POTION_WATER));
-               q_ptr->number = (byte)rand_range(15, 23);
+               q_ptr->number = (ITEM_NUMBER)rand_range(15, 23);
                add_outfit(q_ptr);
 
                break;
@@ -3971,7 +2254,7 @@ void player_outfit(void)
                /* Fuel with oil (move pval to xtra4) */
                apply_magic(q_ptr, 1, AM_NO_FIXED_ART);
 
-               q_ptr->number = (byte)rand_range(7, 12);
+               q_ptr->number = (ITEM_NUMBER)rand_range(7, 12);
                add_outfit(q_ptr);
 
                break;
@@ -3979,12 +2262,10 @@ void player_outfit(void)
        default:
                /* Food rations */
                object_prep(q_ptr, lookup_kind(TV_FOOD, SV_FOOD_RATION));
-               q_ptr->number = (byte)rand_range(3, 7);
+               q_ptr->number = (ITEM_NUMBER)rand_range(3, 7);
 
                add_outfit(q_ptr);
        }
-
-       /* Get local object */
        q_ptr = &forge;
 
        if ((p_ptr->prace == RACE_VAMPIRE) && (p_ptr->pclass != CLASS_NINJA))
@@ -3992,7 +2273,7 @@ void player_outfit(void)
                /* Hack -- Give the player scrolls of DARKNESS! */
                object_prep(q_ptr, lookup_kind(TV_SCROLL, SV_SCROLL_DARKNESS));
 
-               q_ptr->number = (byte)rand_range(2, 5);
+               q_ptr->number = (ITEM_NUMBER)rand_range(2, 5);
 
                add_outfit(q_ptr);
        }
@@ -4000,15 +2281,20 @@ void player_outfit(void)
        {
                /* Hack -- Give the player some torches */
                object_prep(q_ptr, lookup_kind(TV_LITE, SV_LITE_TORCH));
-               q_ptr->number = (byte)rand_range(3, 7);
+               q_ptr->number = (ITEM_NUMBER)rand_range(3, 7);
                q_ptr->xtra4 = rand_range(3, 7) * 500;
 
                add_outfit(q_ptr);
        }
-
-       /* Get local object */
        q_ptr = &forge;
 
+       if (p_ptr->prace == RACE_MERFOLK)
+       {
+               object_prep(q_ptr, lookup_kind(TV_RING, SV_RING_LEVITATION_FALL));
+               q_ptr->number = 1;
+               add_outfit(q_ptr);
+       }
+
        if ((p_ptr->pclass == CLASS_RANGER) || (p_ptr->pclass == CLASS_CAVALRY))
        {
                /* Hack -- Give the player some arrows */
@@ -4028,7 +2314,7 @@ void player_outfit(void)
        {
                /* Hack -- Give the player some arrows */
                object_prep(q_ptr, lookup_kind(TV_ARROW, SV_AMMO_NORMAL));
-               q_ptr->number = (byte)rand_range(15, 20);
+               q_ptr->number = (ITEM_NUMBER)rand_range(15, 20);
 
                add_outfit(q_ptr);
        }
@@ -4037,16 +2323,17 @@ void player_outfit(void)
                /* Hack -- Give the player some arrows */
                object_prep(q_ptr, lookup_kind(TV_WAND, SV_WAND_MAGIC_MISSILE));
                q_ptr->number = 1;
-               q_ptr->pval = (byte)rand_range(25, 30);
+               q_ptr->pval = (PARAMETER_VALUE)rand_range(25, 30);
 
                add_outfit(q_ptr);
        }
        else if (p_ptr->pclass == CLASS_SORCERER)
        {
-               for (i = TV_LIFE_BOOK; i <= TV_LIFE_BOOK+MAX_MAGIC-1; i++)
+               OBJECT_TYPE_VALUE book_tval;
+               for (book_tval = TV_LIFE_BOOK; book_tval <= TV_LIFE_BOOK+MAX_MAGIC-1; book_tval++)
                {
                        /* Hack -- Give the player some arrows */
-                       object_prep(q_ptr, lookup_kind(i, 0));
+                       object_prep(q_ptr, lookup_kind(book_tval, 0));
                        q_ptr->number = 1;
 
                        add_outfit(q_ptr);
@@ -4058,33 +2345,33 @@ void player_outfit(void)
                {
                        /* Hack -- Give the player some arrows */
                        object_prep(q_ptr, lookup_kind(TV_SHOT, SV_AMMO_LIGHT));
-                       q_ptr->number = (byte)rand_range(15, 20);
+                       q_ptr->number = rand_range(15, 20);
 
                        add_outfit(q_ptr);
                }
 
                object_prep(q_ptr, lookup_kind(TV_FOOD, SV_FOOD_BISCUIT));
-               q_ptr->number = (byte)rand_range(2, 4);
+               q_ptr->number = rand_range(2, 4);
 
                add_outfit(q_ptr);
 
                object_prep(q_ptr, lookup_kind(TV_FOOD, SV_FOOD_WAYBREAD));
-               q_ptr->number = (byte)rand_range(2, 4);
+               q_ptr->number = rand_range(2, 4);
 
                add_outfit(q_ptr);
 
                object_prep(q_ptr, lookup_kind(TV_FOOD, SV_FOOD_JERKY));
-               q_ptr->number = (byte)rand_range(1, 3);
+               q_ptr->number = rand_range(1, 3);
 
                add_outfit(q_ptr);
 
                object_prep(q_ptr, lookup_kind(TV_FOOD, SV_FOOD_PINT_OF_ALE));
-               q_ptr->number = (byte)rand_range(2, 4);
+               q_ptr->number = rand_range(2, 4);
 
                add_outfit(q_ptr);
 
                object_prep(q_ptr, lookup_kind(TV_FOOD, SV_FOOD_PINT_OF_WINE));
-               q_ptr->number = (byte)rand_range(2, 4);
+               q_ptr->number = rand_range(2, 4);
 
                add_outfit(q_ptr);
        }
@@ -4092,7 +2379,7 @@ void player_outfit(void)
        {
                /* Hack -- Give the player some arrows */
                object_prep(q_ptr, lookup_kind(TV_SPIKE, 0));
-               q_ptr->number = (byte)rand_range(15, 20);
+               q_ptr->number = rand_range(15, 20);
 
                add_outfit(q_ptr);
        }
@@ -4100,7 +2387,7 @@ void player_outfit(void)
        {
                /* Hack -- Give the player some bolts */
                object_prep(q_ptr, lookup_kind(TV_BOLT, SV_AMMO_NORMAL));
-               q_ptr->number = (byte)rand_range(15, 20);
+               q_ptr->number = rand_range(15, 20);
 
                add_outfit(q_ptr);
        }
@@ -4128,14 +2415,11 @@ void player_outfit(void)
                        /* Barbarians do not need a ring of resist fear */
                        sv = SV_RING_SUSTAIN_STR;
 
-               else if (tv == TV_RING && sv == SV_RING_SUSTAIN_INT &&
-                   p_ptr->prace == RACE_MIND_FLAYER)
-                 {
+               else if (tv == TV_RING && sv == SV_RING_SUSTAIN_INT && p_ptr->prace == RACE_MIND_FLAYER)
+               {
                        tv = TV_POTION;
                        sv = SV_POTION_RESTORE_MANA;
-                 }
-
-               /* Get local object */
+               }
                q_ptr = &forge;
 
                /* Hack -- Give the player an object */
@@ -4162,20 +2446,16 @@ void player_outfit(void)
 static bool get_player_race(void)
 {
        int     k, n, cs, os;
-       cptr    str;
+       concptr    str;
        char    c;
        char    sym[MAX_RACES];
        char    p2 = ')';
        char    buf[80], cur[80];
 
-
        /* Extra info */
        clear_from(10);
-#ifdef JP
-       put_str("注意:《種族》によってキャラクターの先天的な資質やボーナスが変化します。", 23, 5);
-#else
-       put_str("Note: Your 'race' determines various intrinsic factors and bonuses.", 23 ,5);
-#endif
+       put_str(_("注意:《種族》によってキャラクターの先天的な資質やボーナスが変化します。",
+               "Note: Your 'race' determines various intrinsic factors and bonuses."), 23, 5);
 
        /* Dump races */
        for (n = 0; n < MAX_RACES; n++)
@@ -4189,20 +2469,12 @@ static bool get_player_race(void)
                        sym[n] = I2A(n);
                else
                        sym[n] = ('A' + n - 26);
-#ifdef JP
                sprintf(buf, "%c%c%s", sym[n], p2, str);
-#else
-               sprintf(buf, "%c%c %s", sym[n], p2, str);
-#endif
-               put_str(buf, 12 + (n/5), 1 + 16 * (n%5));
+               put_str(buf, 12 + (n / 5), 1 + 16 * (n % 5));
 
        }
 
-#ifdef JP
-       sprintf(cur, "%c%c%s", '*', p2, "ランダム");
-#else
-       sprintf(cur, "%c%c %s", '*', p2, "Random");
-#endif
+       sprintf(cur, "%c%c%s", '*', p2, _("ランダム", "Random"));
 
        /* Choose */
        k = -1;
@@ -4217,11 +2489,7 @@ static bool get_player_race(void)
                        put_str("                                   ", 3, 40);
                        if(cs == MAX_RACES)
                        {
-#ifdef JP
-                               sprintf(cur, "%c%c%s", '*', p2, "ランダム");
-#else
-                               sprintf(cur, "%c%c %s", '*', p2, "Random");
-#endif
+                               sprintf(cur, "%c%c%s", '*', p2, _("ランダム", "Random"));
                                put_str("                                   ", 4, 40);
                                put_str("                                   ", 5, 40);
                        }
@@ -4229,17 +2497,11 @@ static bool get_player_race(void)
                        {
                                rp_ptr = &race_info[cs];
                                str = rp_ptr->title;
-#ifdef JP
                                sprintf(cur, "%c%c%s", sym[cs], p2, str);
                                c_put_str(TERM_L_BLUE, rp_ptr->title, 3, 40);
-                               put_str("の種族修正", 3, 40+strlen(rp_ptr->title));
-                               put_str("腕力 知能 賢さ 器用 耐久 魅力 経験 ", 4, 40);
-#else
-                               sprintf(cur, "%c%c %s", sym[cs], p2, str);
-                               c_put_str(TERM_L_BLUE, rp_ptr->title, 3, 40);
-                               put_str(": Race modification", 3, 40+strlen(rp_ptr->title));
-                               put_str("Str  Int  Wis  Dex  Con  Chr   EXP ", 4, 40);
-#endif
+                               put_str(_("腕力 知能 賢さ 器用 耐久 魅力 経験 ", "Str  Int  Wis  Dex  Con  Chr   EXP "), 4, 40);
+                               put_str(_("の種族修正", ": Race modification"), 3, 40 + strlen(rp_ptr->title));
+
                                sprintf(buf, "%+3d  %+3d  %+3d  %+3d  %+3d  %+3d %+4d%% ",
                                        rp_ptr->r_adj[0], rp_ptr->r_adj[1], rp_ptr->r_adj[2], rp_ptr->r_adj[3],
                                        rp_ptr->r_adj[4], rp_ptr->r_adj[5], (rp_ptr->r_exp - 100));
@@ -4251,11 +2513,7 @@ static bool get_player_race(void)
 
                if (k >= 0) break;
 
-#ifdef JP
-               sprintf(buf, "種族を選んで下さい (%c-%c) ('='初期オプション設定): ", sym[0], sym[MAX_RACES-1]);
-#else
-               sprintf(buf, "Choose a race (%c-%c) ('=' for options): ", sym[0], sym[MAX_RACES-1]);
-#endif
+               sprintf(buf, _("種族を選んで下さい (%c-%c) ('='初期オプション設定): ", "Choose a race (%c-%c) ('=' for options): "), sym[0], sym[MAX_RACES-1]);
 
                put_str(buf, 10, 10);
                c = inkey();
@@ -4321,18 +2579,14 @@ static bool get_player_race(void)
                else if (c == '=')
                {
                        screen_save();
-#ifdef JP
-                       do_cmd_options_aux(OPT_PAGE_BIRTH, "初期オプション((*)はスコアに影響)");
-#else
-                       do_cmd_options_aux(OPT_PAGE_BIRTH, "Birth Option((*)s effect score)");
-#endif
+                       do_cmd_options_aux(OPT_PAGE_BIRTH, _("初期オプション((*)はスコアに影響)", "Birth Option((*)s effect score)"));
                        screen_load();
                }
                else if (c !='2' && c !='4' && c !='6' && c !='8') bell();
        }
 
        /* Set race */
-       p_ptr->prace = k;
+       p_ptr->prace = (byte_hack)k;
 
        rp_ptr = &race_info[p_ptr->prace];
 
@@ -4355,22 +2609,16 @@ static bool get_player_class(void)
        char    sym[MAX_CLASS_CHOICE];
        char    p2 = ')';
        char    buf[80], cur[80];
-       cptr    str;
+       concptr    str;
 
 
        /* Extra info */
        clear_from(10);
-#ifdef JP
-       put_str("注意:《職業》によってキャラクターの先天的な能力やボーナスが変化します。", 23, 5);
-#else
-       put_str("Note: Your 'class' determines various intrinsic abilities and bonuses.", 23, 5);
-#endif
-
-#ifdef JP
-       put_str("()で囲まれた選択肢はこの種族には似合わない職業です。", 11, 10);
-#else
-       put_str("Any entries in parentheses should only be used by advanced players.", 11, 5);
-#endif
+       put_str(_("注意:《職業》によってキャラクターの先天的な能力やボーナスが変化します。",
+               "Note: Your 'class' determines various intrinsic abilities and bonuses."), 23, 5);
+
+       put_str(_("()で囲まれた選択肢はこの種族には似合わない職業です。", 
+               "Any entries in parentheses should only be used by advanced players."), 11, 5);
 
 
        /* Dump classes */
@@ -4387,26 +2635,14 @@ static bool get_player_class(void)
 
                /* Display */
                if (!(rp_ptr->choice & (1L << n)))
-#ifdef JP
                        sprintf(buf, "%c%c(%s)", sym[n], p2, str);
-#else
-                       sprintf(buf, "%c%c (%s)", sym[n], p2, str);
-#endif
                else
-#ifdef JP
                        sprintf(buf, "%c%c%s", sym[n], p2, str);
-#else
-                       sprintf(buf, "%c%c %s", sym[n], p2, str);
-#endif
 
                put_str(buf, 13+ (n/4), 2 + 19 * (n%4));
        }
 
-#ifdef JP
-       sprintf(cur, "%c%c%s", '*', p2, "ランダム");
-#else
-       sprintf(cur, "%c%c %s", '*', p2, "Random");
-#endif
+       sprintf(cur, "%c%c%s", '*', p2, _("ランダム", "Random"));
 
        /* Get a class */
        k = -1;
@@ -4421,11 +2657,7 @@ static bool get_player_class(void)
                        put_str("                                   ", 3, 40);
                        if(cs == MAX_CLASS_CHOICE)
                        {
-#ifdef JP
-                               sprintf(cur, "%c%c%s", '*', p2, "ランダム");
-#else
-                               sprintf(cur, "%c%c %s", '*', p2, "Random");
-#endif
+                               sprintf(cur, "%c%c%s", '*', p2, _("ランダム", "Random"));
                                put_str("                                   ", 4, 40);
                                put_str("                                   ", 5, 40);
                        }
@@ -4435,42 +2667,25 @@ static bool get_player_class(void)
                                mp_ptr = &m_info[cs];
                                str = cp_ptr->title;
                                if (!(rp_ptr->choice & (1L << cs)))
-#ifdef JP
                                        sprintf(cur, "%c%c(%s)", sym[cs], p2, str);
-#else
-                                       sprintf(cur, "%c%c (%s)", sym[cs], p2, str);
-#endif
                                else
-#ifdef JP
                                        sprintf(cur, "%c%c%s", sym[cs], p2, str);
-#else
-                                       sprintf(cur, "%c%c %s", sym[cs], p2, str);
-#endif
-#ifdef JP
-                                       c_put_str(TERM_L_BLUE, cp_ptr->title, 3, 40);
-                                       put_str("の職業修正", 3, 40+strlen(cp_ptr->title));
-                                       put_str("腕力 知能 賢さ 器用 耐久 魅力 経験 ", 4, 40);
-#else
+
                                        c_put_str(TERM_L_BLUE, cp_ptr->title, 3, 40);
-                                       put_str(": Class modification", 3, 40+strlen(cp_ptr->title));
-                                       put_str("Str  Int  Wis  Dex  Con  Chr   EXP ", 4, 40);
-#endif
+                                       put_str(_("の職業修正", ": Class modification"), 3, 40+strlen(cp_ptr->title));
+                                       put_str(_("腕力 知能 賢さ 器用 耐久 魅力 経験 ", "Str  Int  Wis  Dex  Con  Chr   EXP "), 4, 40);
                                        sprintf(buf, "%+3d  %+3d  %+3d  %+3d  %+3d  %+3d %+4d%% ",
                                                cp_ptr->c_adj[0], cp_ptr->c_adj[1], cp_ptr->c_adj[2], cp_ptr->c_adj[3],
                                                cp_ptr->c_adj[4], cp_ptr->c_adj[5], cp_ptr->c_exp);
                                        c_put_str(TERM_L_BLUE, buf, 5, 40);
                        }
-                       c_put_str(TERM_YELLOW, cur, 13 + (cs/4), 2 + 19 * (cs%4));
+                       c_put_str(TERM_YELLOW, cur, 13 + (cs / 4), 2 + 19 * (cs % 4));
                        os = cs;
                }
 
                if (k >= 0) break;
 
-#ifdef JP
-               sprintf(buf, "職業を選んで下さい (%c-%c) ('='初期オプション設定): ", sym[0], sym[MAX_CLASS_CHOICE-1]);
-#else
-               sprintf(buf, "Choose a class (%c-%c) ('=' for options): ",  sym[0], sym[MAX_CLASS_CHOICE-1]);
-#endif
+               sprintf(buf, _("職業を選んで下さい (%c-%c) ('='初期オプション設定): ", "Choose a class (%c-%c) ('=' for options): "), sym[0], sym[MAX_CLASS_CHOICE-1]);
 
                put_str(buf, 10, 10);
                c = inkey();
@@ -4536,23 +2751,17 @@ static bool get_player_class(void)
                else if (c == '=')
                {
                        screen_save();
-#ifdef JP
-                       do_cmd_options_aux(OPT_PAGE_BIRTH, "初期オプション((*)はスコアに影響)");
-#else
-                       do_cmd_options_aux(OPT_PAGE_BIRTH, "Birth Option((*)s effect score)");
-#endif
-
+                       do_cmd_options_aux(OPT_PAGE_BIRTH, _("初期オプション((*)はスコアに影響)", "Birth Option((*)s effect score)"));
                        screen_load();
                }
                else if (c !='2' && c !='4' && c !='6' && c !='8') bell();
        }
 
        /* Set class */
-       p_ptr->pclass = k;
+       p_ptr->pclass = (byte_hack)k;
        cp_ptr = &class_info[p_ptr->pclass];
        mp_ptr = &m_info[p_ptr->pclass];
 
-
        /* Display */
        c_put_str(TERM_L_BLUE, cp_ptr->title, 5, 15);
 
@@ -4566,22 +2775,18 @@ static bool get_player_class(void)
  */
 static bool get_player_seikaku(void)
 {
-       int     k, n, os, cs;
-       char    c;
-       char    sym[MAX_SEIKAKU];
-       char    p2 = ')';
-       char    buf[80], cur[80];
-       char    tmp[64];
-       cptr    str;
-
+       int k;
+       int n, os, cs;
+       char c;
+       char sym[MAX_SEIKAKU];
+       char p2 = ')';
+       char buf[80], cur[80];
+       char tmp[64];
+       concptr str;
 
        /* Extra info */
        clear_from(10);
-#ifdef JP
-       put_str("注意:《性格》によってキャラクターの能力やボーナスが変化します。", 23, 5);
-#else
-       put_str("Note: Your personality determines various intrinsic abilities and bonuses.", 23, 5);
-#endif
+       put_str(_("注意:《性格》によってキャラクターの能力やボーナスが変化します。", "Note: Your personality determines various intrinsic abilities and bonuses."), 23, 5);
 
        /* Dump seikakus */
        for (n = 0; n < MAX_SEIKAKU; n++)
@@ -4597,20 +2802,11 @@ static bool get_player_seikaku(void)
                        sym[n] = ('A' + n - 26);
 
                /* Display */
-               /* Display */
-#ifdef JP
                sprintf(buf, "%c%c%s", I2A(n), p2, str);
-#else
-               sprintf(buf, "%c%c %s", I2A(n), p2, str);
-#endif
                put_str(buf, 12 + (n/4), 2 + 18 * (n%4));
        }
 
-#ifdef JP
-       sprintf(cur, "%c%c%s", '*', p2, "ランダム");
-#else
-       sprintf(cur, "%c%c %s", '*', p2, "Random");
-#endif
+       sprintf(cur, "%c%c%s", '*', p2, _("ランダム", "Random"));
 
        /* Get a seikaku */
        k = -1;
@@ -4625,11 +2821,7 @@ static bool get_player_seikaku(void)
                        put_str("                                   ", 3, 40);
                        if(cs == MAX_SEIKAKU)
                        {
-#ifdef JP
-                               sprintf(cur, "%c%c%s", '*', p2, "ランダム");
-#else
-                               sprintf(cur, "%c%c %s", '*', p2, "Random");
-#endif
+                               sprintf(cur, "%c%c%s", '*', p2, _("ランダム", "Random"));
                                put_str("                                   ", 4, 40);
                                put_str("                                   ", 5, 40);
                        }
@@ -4637,24 +2829,14 @@ static bool get_player_seikaku(void)
                        {
                                ap_ptr = &seikaku_info[cs];
                                str = ap_ptr->title;
-#ifdef JP
-                                       sprintf(cur, "%c%c%s", sym[cs], p2, str);
-#else
-                                       sprintf(cur, "%c%c %s", sym[cs], p2, str);
-#endif
-#ifdef JP
-                                       c_put_str(TERM_L_BLUE, ap_ptr->title, 3, 40);
-                                       put_str("の性格修正", 3, 40+strlen(ap_ptr->title));
-                                       put_str("腕力 知能 賢さ 器用 耐久 魅力      ", 4, 40);
-#else
-                                       c_put_str(TERM_L_BLUE, ap_ptr->title, 3, 40);
-                                       put_str(": Personality modification", 3, 40+strlen(ap_ptr->title));
-                                       put_str("Str  Int  Wis  Dex  Con  Chr       ", 4, 40);
-#endif
-                                       sprintf(buf, "%+3d  %+3d  %+3d  %+3d  %+3d  %+3d       ",
-                                               ap_ptr->a_adj[0], ap_ptr->a_adj[1], ap_ptr->a_adj[2], ap_ptr->a_adj[3],
-                                               ap_ptr->a_adj[4], ap_ptr->a_adj[5]);
-                                       c_put_str(TERM_L_BLUE, buf, 5, 40);
+                               sprintf(cur, "%c%c%s", sym[cs], p2, str);
+                               c_put_str(TERM_L_BLUE, ap_ptr->title, 3, 40);
+                               put_str(_("の性格修正", ": Personality modification"), 3, 40+strlen(ap_ptr->title));
+                               put_str(_("腕力 知能 賢さ 器用 耐久 魅力      ", "Str  Int  Wis  Dex  Con  Chr       "), 4, 40);
+                               sprintf(buf, "%+3d  %+3d  %+3d  %+3d  %+3d  %+3d       ",
+                                       ap_ptr->a_adj[0], ap_ptr->a_adj[1], ap_ptr->a_adj[2], ap_ptr->a_adj[3],
+                                       ap_ptr->a_adj[4], ap_ptr->a_adj[5]);
+                               c_put_str(TERM_L_BLUE, buf, 5, 40);
                        }
                        c_put_str(TERM_YELLOW, cur, 12 + (cs/4), 2 + 18 * (cs%4));
                        os = cs;
@@ -4662,11 +2844,7 @@ static bool get_player_seikaku(void)
 
                if (k >= 0) break;
 
-#ifdef JP
-               sprintf(buf, "性格を選んで下さい (%c-%c) ('='初期オプション設定): ", sym[0], sym[MAX_SEIKAKU-1]);
-#else
-               sprintf(buf, "Choose a personality (%c-%c) ('=' for options): ", sym[0], sym[MAX_SEIKAKU-1]);
-#endif
+               sprintf(buf, _("性格を選んで下さい (%c-%c) ('='初期オプション設定): ", "Choose a personality (%c-%c) ('=' for options): "), sym[0], sym[MAX_SEIKAKU-1]);
 
                put_str(buf, 10, 10);
                c = inkey();
@@ -4774,19 +2952,14 @@ static bool get_player_seikaku(void)
                else if (c == '=')
                {
                        screen_save();
-#ifdef JP
-                       do_cmd_options_aux(OPT_PAGE_BIRTH, "初期オプション((*)はスコアに影響)");
-#else
-                       do_cmd_options_aux(OPT_PAGE_BIRTH, "Birth Option((*)s effect score)");
-#endif
-
+                       do_cmd_options_aux(OPT_PAGE_BIRTH, _("初期オプション((*)はスコアに影響)", "Birth Option((*)s effect score)"));
                        screen_load();
                }
                else if (c !='2' && c !='4' && c !='6' && c !='8') bell();
        }
 
        /* Set seikaku */
-       p_ptr->pseikaku = k;
+       p_ptr->pseikaku = (CHARACTER_IDX)k;
        ap_ptr = &seikaku_info[p_ptr->pseikaku];
 #ifdef JP
        strcpy(tmp, ap_ptr->title);
@@ -4798,8 +2971,6 @@ static bool get_player_seikaku(void)
 #endif
        strcat(tmp,p_ptr->name);
 
-
-       /* Display */
        c_put_str(TERM_L_BLUE, tmp, 1, 34);
 
        return TRUE;
@@ -4822,22 +2993,13 @@ static bool get_stat_limits(void)
        clear_from(10);
 
        /* Extra infomation */
-#ifdef JP
-       put_str("最低限得たい能力値を設定して下さい。", 10, 10);
-       put_str("2/8で項目選択、4/6で値の増減、Enterで次へ", 11, 10);
-#else
-       put_str("Set minimum stats.", 10, 10);
-       put_str("2/8 for Select, 4/6 for Change value, Enter for Goto next", 11, 10);
-#endif
+       put_str(_("最低限得たい能力値を設定して下さい。", "Set minimum stats."), 10, 10);
+       put_str(_("2/8で項目選択、4/6で値の増減、Enterで次へ", "2/8 for Select, 4/6 for Change value, Enter for Goto next"), 11, 10);
        
-#ifdef JP
-       put_str("         基本値  種族 職業 性格     合計値  最大値", 13, 10);
-#else
-       put_str("           Base   Rac  Cla  Per      Total  Maximum", 13, 10);
-#endif
+       put_str(_("         基本値  種族 職業 性格     合計値  最大値", "           Base   Rac  Cla  Per      Total  Maximum"), 13, 10);
 
        /* Output the maximum stats */
-       for (i = 0; i < 6; i++)
+       for (i = 0; i < A_MAX; i++)
        {
                /* Reset the "success" counter */
                stat_match[i] = 0;
@@ -4852,21 +3014,13 @@ static bool get_stat_limits(void)
                /* Above 18 */
                if (m > 18)
                {
-#ifdef JP
-                       sprintf(cur, "18/%02d", (m - 18));
-#else
                        sprintf(cur, "18/%02d", (m - 18));
-#endif
                }
                
                /* From 3 to 18 */
                else
                {
-#ifdef JP
-                       sprintf(cur, "%2d", m);
-#else
                        sprintf(cur, "%2d", m);
-#endif
                }
 
                /* Obtain the current stat */
@@ -4875,21 +3029,13 @@ static bool get_stat_limits(void)
                /* Above 18 */
                if (m > 18)
                {
-#ifdef JP
-                       sprintf(inp, "18/%02d", (m - 18));
-#else
                        sprintf(inp, "18/%02d", (m - 18));
-#endif
                }
                
                /* From 3 to 18 */
                else
                {
-#ifdef JP
-                       sprintf(inp, "%2d", m);
-#else
                        sprintf(inp, "%2d", m);
-#endif
                }
 
                /* Prepare a prompt */
@@ -4911,22 +3057,15 @@ static bool get_stat_limits(void)
                {
                        if(os == 6)
                        {
-#ifdef JP
-                               c_put_str(TERM_WHITE, "決定する", 21, 35);
-#else
-                               c_put_str(TERM_WHITE, "Accept", 21, 35);
-#endif
+                               c_put_str(TERM_WHITE, _("決定する", "Accept"), 21, 35);
                        }
-                       else if(os < 6)
+                       else if(os < A_MAX)
+                       {
                                c_put_str(TERM_WHITE, cur, 14 + os, 10);
-                       
+                       }
                        if(cs == 6)
                        {
-#ifdef JP
-                               c_put_str(TERM_YELLOW, "決定する", 21, 35);
-#else
-                               c_put_str(TERM_YELLOW, "Accept", 21, 35);
-#endif
+                               c_put_str(TERM_YELLOW, _("決定する", "Accept"), 21, 35);
                        }
                        else
                        {
@@ -4939,21 +3078,13 @@ static bool get_stat_limits(void)
                                /* Above 18 */
                                if (m > 18)
                                {
-#ifdef JP
-                                       sprintf(inp, "18/%02d", (m - 18));
-#else
                                        sprintf(inp, "18/%02d", (m - 18));
-#endif
                                }
                                
                                /* From 3 to 18 */
                                else
                                {
-#ifdef JP
-                                       sprintf(inp, "%2d", m);
-#else
                                        sprintf(inp, "%2d", m);
-#endif
                                }
                                
                                /* Prepare a prompt */
@@ -4987,7 +3118,7 @@ static bool get_stat_limits(void)
                        break;
                case '2':
                case 'j':
-                       if (cs < 6) cs++;
+                       if (cs < A_MAX) cs++;
                        break;
                case '4':
                case 'h':
@@ -5061,10 +3192,10 @@ static bool get_stat_limits(void)
                if(c == ESCAPE || ((c == ' ' || c == '\r' || c == '\n') && cs == 6))break;
        }
        
-       for (i = 0; i < 6; i++)
+       for (i = 0; i < A_MAX; i++)
        {
                /* Save the minimum stat */
-               stat_limit[i] = cval[i];
+               stat_limit[i] = (s16b)cval[i];
        }
 
        return TRUE;
@@ -5085,31 +3216,18 @@ static bool get_chara_limits(void)
        int max_percent, min_percent;
        char c;
        char buf[80], cur[80];
-       cptr itemname[] = {
-#ifdef JP
-               "年齢",
-               "身長(インチ)",
-               "体重(ポンド)",
-               "社会的地位"
-#else
-               "age",
-               "height",
-               "weight",
-               "social class"
-#endif
+       concptr itemname[] = {
+               _("年齢", "age"),
+               _("身長(インチ)", "height"),
+               _("体重(ポンド)", "weight"),
+               _("社会的地位", "social class")
        };
 
-       /* Clean up */
        clear_from(10);
        
        /* Prompt for the minimum stats */
-#ifdef JP
-       put_str("2/4/6/8で項目選択、+/-で値の増減、Enterで次へ", 11, 10);
-       put_str("注意:身長と体重の最大値/最小値ぎりぎりの値は非常に出現確率が低くなります。", 23, 2);
-#else
-       put_str("2/4/6/8 for Select, +/- for Change value, Enter for Goto next", 11, 10);
-       put_str("Caution: Values near minimum or maximum is extremery rare.", 23, 5);
-#endif
+       put_str(_("2/4/6/8で項目選択、+/-で値の増減、Enterで次へ", "2/4/6/8 for Select, +/- for Change value, Enter for Goto next"), 11, 10);
+       put_str(_("注意:身長と体重の最大値/最小値ぎりぎりの値は非常に出現確率が低くなります。", "Caution: Values near minimum or maximum is extremery rare."), 23, 2);
        
        if (p_ptr->psex == SEX_MALE)
        {
@@ -5122,13 +3240,8 @@ static bool get_chara_limits(void)
                min_percent = (int)(rp_ptr->f_b_ht-rp_ptr->f_m_ht*4+1) * 100 / (int)(rp_ptr->f_b_ht);
        }
        
-#ifdef JP
-       put_str("体格/地位の最小値/最大値を設定して下さい。", 10, 10);
-       put_str("  項    目                 最小値  最大値", 13,20);
-#else
-       put_str(" Parameter                    Min     Max", 13,20);
-       put_str("Set minimum/maximum attribute.", 10, 10);
-#endif
+       put_str(_("体格/地位の最小値/最大値を設定して下さい。", "Set minimum/maximum attribute."), 10, 10);
+       put_str(_("  項    目                 最小値  最大値", " Parameter                    Min     Max"), 13,20);
 
        /* Output the maximum stats */
        for (i = 0; i < MAXITEMS; i++)
@@ -5198,11 +3311,8 @@ static bool get_chara_limits(void)
                /* Move Cursol */
                if (cs != os)
                {
-#ifdef JP
-                       const char accept[] = "決定する";
-#else
-                       const char accept[] = "Accept";
-#endif
+                       const char accept[] = _("決定する", "Accept");
+
                        if(os == MAXITEMS)
                        {
                                c_put_str(TERM_WHITE, accept, 19, 35);
@@ -5353,12 +3463,7 @@ static bool get_chara_limits(void)
                        break;
                case '=':
                        screen_save();
-#ifdef JP
-                       do_cmd_options_aux(OPT_PAGE_BIRTH, "初期オプション((*)はスコアに影響)");
-#else
-                       do_cmd_options_aux(OPT_PAGE_BIRTH, "Birth Option((*)s effect score)");
-#endif
-
+                       do_cmd_options_aux(OPT_PAGE_BIRTH, _("初期オプション((*)はスコアに影響)", "Birth Option((*)s effect score)"));
                        screen_load();
                        break;
                default:
@@ -5369,14 +3474,14 @@ static bool get_chara_limits(void)
        }
 
        /* Input the minimum stats */
-       chara_limit.agemin = cval[0];
-       chara_limit.agemax = cval[1];
-       chara_limit.htmin = cval[2];
-       chara_limit.htmax = cval[3];
-       chara_limit.wtmin = cval[4];
-       chara_limit.wtmax = cval[5];
-       chara_limit.scmin = cval[6];
-       chara_limit.scmax = cval[7];
+       chara_limit.agemin = (s16b)cval[0];
+       chara_limit.agemax = (s16b)cval[1];
+       chara_limit.htmin = (s16b)cval[2];
+       chara_limit.htmax = (s16b)cval[3];
+       chara_limit.wtmin = (s16b)cval[4];
+       chara_limit.wtmax = (s16b)cval[5];
+       chara_limit.scmin = (s16b)cval[6];
+       chara_limit.scmax = (s16b)cval[7];
 
        return TRUE;
 }
@@ -5389,7 +3494,7 @@ static char *histpref_buf = NULL;
  * @brief 生い立ちメッセージの内容をバッファに加える。 / Hook function for reading the histpref.prf file.
  * @return なし
  */
-void add_history_from_pref_line(cptr t)
+void add_history_from_pref_line(concptr t)
 {
        /* Do nothing if the buffer is not ready */
        if (!histpref_buf) return;
@@ -5410,11 +3515,7 @@ static bool do_cmd_histpref(void)
        char temp[64 * 4];
        char histbuf[HISTPREF_LIMIT];
 
-#ifdef JP
-       if (!get_check("生い立ち設定ファイルをロードしますか? ")) return FALSE;
-#else
-       if (!get_check("Load background history preference file? ")) return FALSE;
-#endif
+       if (!get_check(_("生い立ち設定ファイルをロードしますか? ", "Load background history preference file? "))) return FALSE;
 
        /* Prepare the buffer */
        histbuf[0] = '\0';
@@ -5440,11 +3541,7 @@ static bool do_cmd_histpref(void)
 
        if (err)
        {
-#ifdef JP
-               msg_print("生い立ち設定ファイルの読み込みに失敗しました。");
-#else
-               msg_print("Failed to load background history preference.");
-#endif
+               msg_print(_("生い立ち設定ファイルの読み込みに失敗しました。", "Failed to load background history preference."));
                msg_print(NULL);
 
                /* Kill the buffer */
@@ -5454,11 +3551,7 @@ static bool do_cmd_histpref(void)
        }
        else if (!histpref_buf[0])
        {
-#ifdef JP
-               msg_print("有効な生い立ち設定はこのファイルにありません。");
-#else
-               msg_print("There does not exist valid background history preference.");
-#endif
+               msg_print(_("有効な生い立ち設定はこのファイルにありません。", "There does not exist valid background history preference."));
                msg_print(NULL);
 
                /* Kill the buffer */
@@ -5513,7 +3606,7 @@ static bool do_cmd_histpref(void)
 static void edit_history(void)
 {
        char old_history[4][60];
-       int y = 0, x = 0;
+       TERM_LEN y = 0, x = 0;
        int i, j;
 
        /* Edit character background */
@@ -5723,12 +3816,12 @@ static bool player_birth_aux(void)
 {
        int i, k, n, cs, os;
 
-       int mode = 0;
+       BIT_FLAGS mode = 0;
 
        bool flag = FALSE;
        bool prev = FALSE;
 
-       cptr str;
+       concptr str;
 
        char c;
 
@@ -5744,59 +3837,26 @@ static bool player_birth_aux(void)
 
 
        /*** Intro ***/
-
-       /* Clear screen */
        Term_clear();
 
        /* Title everything */
-#ifdef JP
-       put_str("名前  :", 1,26);
-#else
-       put_str("Name  :", 1,26);
-#endif
-
-#ifdef JP
-       put_str("性別        :", 3, 1);
-#else
-       put_str("Sex         :", 3, 1);
-#endif
-
-#ifdef JP
-       put_str("種族        :", 4, 1);
-#else
-       put_str("Race        :", 4, 1);
-#endif
-
-#ifdef JP
-       put_str("職業        :", 5, 1);
-#else
-       put_str("Class       :", 5, 1);
-#endif
-
+       put_str(_("名前  :", "Name  :"), 1,26);
+       put_str(_("性別        :", "Sex         :"), 3, 1);
+       put_str(_("種族        :", "Race        :"), 4, 1);
+       put_str(_("職業        :", "Class       :"), 5, 1);
 
        /* Dump the default name */
        c_put_str(TERM_L_BLUE, p_ptr->name, 1, 34);
 
-
        /*** Instructions ***/
 
        /* Display some helpful information */
-#ifdef JP
-       put_str("キャラクターを作成します。('S'やり直す, 'Q'終了, '?'ヘルプ)", 8, 10);
-#else
-       put_str("Make your charactor. ('S' Restart, 'Q' Quit, '?' Help)", 8, 10);
-#endif
-
+       put_str(_("キャラクターを作成します。('S'やり直す, 'Q'終了, '?'ヘルプ)", "Make your charactor. ('S' Restart, 'Q' Quit, '?' Help)"), 8, 10);
 
        /*** Player sex ***/
 
        /* Extra info */
-#ifdef JP
-       put_str("注意:《性別》の違いはゲーム上ほとんど影響を及ぼしません。", 23, 5);
-#else
-       put_str("Note: Your 'sex' does not have any significant gameplay effects.", 23, 5);
-#endif
-
+       put_str(_("注意:《性別》の違いはゲーム上ほとんど影響を及ぼしません。", "Note: Your 'sex' does not have any significant gameplay effects."), 23, 5);
 
        /* Prompt for "Sex" */
        for (n = 0; n < MAX_SEXES; n++)
@@ -5904,7 +3964,7 @@ static bool player_birth_aux(void)
        }
 
        /* Set sex */
-       p_ptr->psex = k;
+       p_ptr->psex = (byte_hack)k;
        sp_ptr = &sex_info[p_ptr->psex];
 
        /* Display */
@@ -5918,7 +3978,7 @@ static bool player_birth_aux(void)
        while(1)
        {
                char temp[80*10];
-               cptr t;
+               concptr t;
 
                if (!get_player_race()) return FALSE;
 
@@ -5954,7 +4014,7 @@ static bool player_birth_aux(void)
        while(1)
        {
                char temp[80*9];
-               cptr t;
+               concptr t;
 
                if (!get_player_class()) return FALSE;
 
@@ -5989,7 +4049,7 @@ static bool player_birth_aux(void)
        while(1)
        {
                char temp[80*8];
-               cptr t;
+               concptr t;
 
                if (!get_player_seikaku()) return FALSE;
 
@@ -5997,7 +4057,7 @@ static bool player_birth_aux(void)
                roff_to_buf(seikaku_jouhou[p_ptr->pseikaku], 74, temp, sizeof(temp));
                t = temp;
 
-               for (i = 0; i< 6; i++)
+               for (i = 0; i< A_MAX; i++)
                {
                        if(t[0] == 0)
                                break; 
@@ -6041,7 +4101,6 @@ static bool player_birth_aux(void)
                auto_round = 0L;
        }
 
-       /* Initialize */
        if (autoroller)
        {
                if (!get_stat_limits()) return FALSE;
@@ -6130,7 +4189,7 @@ static bool player_birth_aux(void)
 
 
                        /* Put the minimal stats */
-                       for (i = 0; i < 6; i++)
+                       for (i = 0; i < A_MAX; i++)
                        {
                                int j, m;
 
@@ -6167,7 +4226,7 @@ static bool player_birth_aux(void)
 
                                if (autoroller)
                                {
-                                       for (i = 0; i < 6; i++)
+                                       for (i = 0; i < A_MAX; i++)
                                        {
                                                stat_match[i] = 0;
                                        }
@@ -6177,7 +4236,7 @@ static bool player_birth_aux(void)
                        if (autoroller)
                        {
                                /* Check and count acceptable stats */
-                               for (i = 0; i < 6; i++)
+                               for (i = 0; i < A_MAX; i++)
                                {
                                        /* This stat is okay */
                                        if (p_ptr->stat_max[i] >= stat_limit[i])
@@ -6254,7 +4313,6 @@ static bool player_birth_aux(void)
                /* Flush input */
                flush();
 
-
                /*** Display ***/
 
                /* Mode */
@@ -6274,14 +4332,9 @@ static bool player_birth_aux(void)
                {
                        /* Calculate the bonuses and hitpoints */
                        p_ptr->update |= (PU_BONUS | PU_HP);
+                       update_creature(p_ptr);
 
-                       /* Update stuff */
-                       update_stuff();
-
-                       /* Fully healed */
                        p_ptr->chp = p_ptr->mhp;
-
-                       /* Fully rested */
                        p_ptr->csp = p_ptr->msp;
 
                        /* Display the player */
@@ -6290,36 +4343,12 @@ static bool player_birth_aux(void)
                        /* Prepare a prompt (must squeeze everything in) */
                        Term_gotoxy(2, 23);
                        Term_addch(TERM_WHITE, b1);
-#ifdef JP
-                       Term_addstr(-1, TERM_WHITE, "'r' 次の数値");
-#else
-                       Term_addstr(-1, TERM_WHITE, "'r'eroll");
-#endif
-
-#ifdef JP
-                       if (prev) Term_addstr(-1, TERM_WHITE, ", 'p' 前の数値");
-#else
-                       if (prev) Term_addstr(-1, TERM_WHITE, ", 'p'previous");
-#endif
-
-#ifdef JP
-                       if (mode) Term_addstr(-1, TERM_WHITE, ", 'h' その他の情報");
-#else
-                       if (mode) Term_addstr(-1, TERM_WHITE, ", 'h' Misc.");
-#endif
-
-#ifdef JP
-                       else Term_addstr(-1, TERM_WHITE, ", 'h' 生い立ちを表示");
-#else
-                       else Term_addstr(-1, TERM_WHITE, ", 'h'istory");
-#endif
-
-#ifdef JP
-                       Term_addstr(-1, TERM_WHITE, ", Enter この数値に決定");
-#else
-                       Term_addstr(-1, TERM_WHITE, ", or Enter to accept");
-#endif
+                       Term_addstr(-1, TERM_WHITE, _("'r' 次の数値", "'r'eroll"));
 
+                       if (prev) Term_addstr(-1, TERM_WHITE, _(", 'p' 前の数値", "'p'previous"));
+                       if (mode) Term_addstr(-1, TERM_WHITE, _(", 'h' その他の情報", ", 'h' Misc."));
+                       else Term_addstr(-1, TERM_WHITE, _(", 'h' 生い立ちを表示", ", 'h'istory"));
+                       Term_addstr(-1, TERM_WHITE, _(", Enter この数値に決定", ", or Enter to accept"));
                        Term_addch(TERM_WHITE, b2);
 
                        /* Prompt and get a command */
@@ -6364,23 +4393,13 @@ static bool player_birth_aux(void)
                        else if (c == '=')
                        {
                                screen_save();
-#ifdef JP
-                               do_cmd_options_aux(OPT_PAGE_BIRTH, "初期オプション((*)はスコアに影響)");
-#else
-                               do_cmd_options_aux(OPT_PAGE_BIRTH, "Birth Option((*)s effect score)");
-#endif
-
+                               do_cmd_options_aux(OPT_PAGE_BIRTH, _("初期オプション((*)はスコアに影響)", "Birth Option((*)s effect score)"));
                                screen_load();
                                continue;
                        }
 
                        /* Warning */
-#ifdef JP
                        bell();
-#else
-                       bell();
-#endif
-
                }
 
                /* Are we done? */
@@ -6450,27 +4469,17 @@ static bool ask_quick_start(void)
        /* Doesn't have previous data */
        if (!previous_char.quick_ok) return FALSE;
 
-
-       /* Clear screen */
        Term_clear();
 
        /* Extra info */
-#ifdef JP
-       put_str("クイック・スタートを使うと以前と全く同じキャラクターで始められます。", 11, 5);
-#else
-       put_str("Do you want to use the quick start function(same character as your last one).", 11, 2);
-#endif
+       put_str(_("クイック・スタートを使うと以前と全く同じキャラクターで始められます。", "Do you want to use the quick start function(same character as your last one)."), 11, 2);
 
        /* Choose */
        while (1)
        {
                char c;
 
-#ifdef JP
-               put_str("クイック・スタートを使いますか?[y/N]", 14, 10);
-#else
-               put_str("Use quick start? [y/N]", 14, 10);
-#endif
+               put_str(_("クイック・スタートを使いますか?[y/N]", "Use quick start? [y/N]"), 14, 10);
                c = inkey();
 
                if (c == 'Q') quit(NULL);
@@ -6508,16 +4517,9 @@ static bool ask_quick_start(void)
        /* Calc hitdie, but don't roll */
        get_extra(FALSE);
 
-       /* Calculate the bonuses and hitpoints */
        p_ptr->update |= (PU_BONUS | PU_HP);
-
-       /* Update stuff */
-       update_stuff();
-
-       /* Fully healed */
+       update_creature(p_ptr);
        p_ptr->chp = p_ptr->mhp;
-
-       /* Fully rested */
        p_ptr->csp = p_ptr->msp;
 
        /* Process the player name */
@@ -6575,49 +4577,25 @@ void player_birth(void)
        message_add(" ");
        message_add("  ");
 
-#ifdef JP
-       do_cmd_write_nikki(NIKKI_GAMESTART, 1, "-------- 新規ゲーム開始 --------");
-#else
-       do_cmd_write_nikki(NIKKI_GAMESTART, 1, "-------- Start New Game --------");
-#endif
+       do_cmd_write_nikki(NIKKI_GAMESTART, 1, _("-------- 新規ゲーム開始 --------", "-------- Start New Game --------"));
        do_cmd_write_nikki(NIKKI_HIGAWARI, 0, NULL);
 
-#ifdef JP
-       sprintf(buf,"                            性別に%sを選択した。", sex_info[p_ptr->psex].title);
-#else
-       sprintf(buf,"                            choose %s personality.", sex_info[p_ptr->psex].title);
-#endif
+       sprintf(buf,_("                            性別に%sを選択した。", "                            choose %s personality."), sex_info[p_ptr->psex].title);
        do_cmd_write_nikki(NIKKI_BUNSHOU, 1, buf);
 
-#ifdef JP
-       sprintf(buf,"                            種族に%sを選択した。", race_info[p_ptr->prace].title);
-#else
-       sprintf(buf,"                            choose %s race.", race_info[p_ptr->prace].title);
-#endif
+       sprintf(buf,_("                            種族に%sを選択した。", "                            choose %s race."), race_info[p_ptr->prace].title);
        do_cmd_write_nikki(NIKKI_BUNSHOU, 1, buf);
 
-#ifdef JP
-       sprintf(buf,"                            職業に%sを選択した。", class_info[p_ptr->pclass].title);
-#else
-       sprintf(buf,"                            choose %s class.", class_info[p_ptr->pclass].title);
-#endif
+       sprintf(buf,_("                            職業に%sを選択した。", "                            choose %s class."), class_info[p_ptr->pclass].title);
        do_cmd_write_nikki(NIKKI_BUNSHOU, 1, buf);
 
        if (p_ptr->realm1)
        {
-#ifdef JP
-               sprintf(buf,"                            魔法の領域に%s%sを選択した。",realm_names[p_ptr->realm1], p_ptr->realm2 ? format("と%s",realm_names[p_ptr->realm2]) : "");
-#else
-               sprintf(buf,"                            choose %s%s realm.",realm_names[p_ptr->realm1], p_ptr->realm2 ? format(" realm and %s",realm_names[p_ptr->realm2]) : "");
-#endif
+               sprintf(buf,_("                            魔法の領域に%s%sを選択した。", "                            choose %s%s realm."),realm_names[p_ptr->realm1], p_ptr->realm2 ? format("と%s",realm_names[p_ptr->realm2]) : "");
                do_cmd_write_nikki(NIKKI_BUNSHOU, 1, buf);
        }
 
-#ifdef JP
-       sprintf(buf,"                            性格に%sを選択した。", seikaku_info[p_ptr->pseikaku].title);
-#else
-       sprintf(buf,"                            choose %s.", seikaku_info[p_ptr->pseikaku].title);
-#endif
+       sprintf(buf,_("                            性格に%sを選択した。", "                            choose %s."), seikaku_info[p_ptr->pseikaku].title);
        do_cmd_write_nikki(NIKKI_BUNSHOU, 1, buf);
 
        /* Init the shops */
@@ -6625,7 +4603,6 @@ void player_birth(void)
        {
                for (j = 0; j < MAX_STORES; j++)
                {
-                       /* Initialize */
                        store_init(i, j);
                }
        }
@@ -6655,17 +4632,14 @@ void dump_yourself(FILE *fff)
 {
        char temp[80*10];
        int i;
-       cptr t;
+       concptr t;
 
        if (!fff) return;
 
        roff_to_buf(race_jouhou[p_ptr->prace], 78, temp, sizeof(temp));
        fprintf(fff, "\n\n");
-#ifdef JP
-       fprintf(fff, "種族: %s\n", race_info[p_ptr->prace].title);
-#else
-       fprintf(fff, "Race: %s\n", race_info[p_ptr->prace].title);
-#endif
+       fprintf(fff, _("種族: %s\n", "Race: %s\n"), race_info[p_ptr->prace].title);
+
        t = temp;
        for (i = 0; i < 10; i++)
        {
@@ -6676,11 +4650,8 @@ void dump_yourself(FILE *fff)
        }
        roff_to_buf(class_jouhou[p_ptr->pclass], 78, temp, sizeof(temp));
        fprintf(fff, "\n");
-#ifdef JP
-       fprintf(fff, "職業: %s\n", class_info[p_ptr->pclass].title);
-#else
-       fprintf(fff, "Class: %s\n", class_info[p_ptr->pclass].title);
-#endif
+       fprintf(fff, _("職業: %s\n", "Class: %s\n"), class_info[p_ptr->pclass].title);
+
        t = temp;
        for (i = 0; i < 10; i++)
        {
@@ -6691,13 +4662,10 @@ void dump_yourself(FILE *fff)
        }
        roff_to_buf(seikaku_jouhou[p_ptr->pseikaku], 78, temp, sizeof(temp));
        fprintf(fff, "\n");
-#ifdef JP
-       fprintf(fff, "性格: %s\n", seikaku_info[p_ptr->pseikaku].title);
-#else
-       fprintf(fff, "Pesonality: %s\n", seikaku_info[p_ptr->pseikaku].title);
-#endif
+       fprintf(fff, _("性格: %s\n", "Pesonality: %s\n"), seikaku_info[p_ptr->pseikaku].title);
+
        t = temp;
-       for (i = 0; i < 6; i++)
+       for (i = 0; i < A_MAX; i++)
        {
                if(t[0] == 0)
                        break; 
@@ -6708,13 +4676,10 @@ void dump_yourself(FILE *fff)
        if (p_ptr->realm1)
        {
                roff_to_buf(realm_jouhou[technic2magic(p_ptr->realm1)-1], 78, temp, sizeof(temp));
-#ifdef JP
-               fprintf(fff, "魔法: %s\n", realm_names[p_ptr->realm1]);
-#else
-               fprintf(fff, "Realm: %s\n", realm_names[p_ptr->realm1]);
-#endif
+               fprintf(fff, _("魔法: %s\n", "Realm: %s\n"), realm_names[p_ptr->realm1]);
+
                t = temp;
-               for (i = 0; i < 6; i++)
+               for (i = 0; i < A_MAX; i++)
                {
                        if(t[0] == 0)
                                break; 
@@ -6726,13 +4691,10 @@ void dump_yourself(FILE *fff)
        if (p_ptr->realm2)
        {
                roff_to_buf(realm_jouhou[technic2magic(p_ptr->realm2)-1], 78, temp, sizeof(temp));
-#ifdef JP
-               fprintf(fff, "魔法: %s\n", realm_names[p_ptr->realm2]);
-#else
-               fprintf(fff, "Realm: %s\n", realm_names[p_ptr->realm2]);
-#endif
+               fprintf(fff, _("魔法: %s\n", "Realm: %s\n"), realm_names[p_ptr->realm2]);
+
                t = temp;
-               for (i = 0; i < 6; i++)
+               for (i = 0; i < A_MAX; i++)
                {
                        if(t[0] == 0)
                                break;