-/*
- * Return alignment title
- */
-cptr your_alignment(void)
-{
-#ifdef JP
- if (p_ptr->align > 150) return "大善";
- else if (p_ptr->align > 50) return "中善";
- else if (p_ptr->align > 10) return "小善";
- else if (p_ptr->align > -11) return "中立";
- else if (p_ptr->align > -51) return "小悪";
- else if (p_ptr->align > -151) return "中悪";
- else return "大悪";
-#else
- if (p_ptr->align > 150) return "Lawful";
- else if (p_ptr->align > 50) return "Good";
- else if (p_ptr->align > 10) return "Neutral Good";
- else if (p_ptr->align > -11) return "Neutral";
- else if (p_ptr->align > -51) return "Neutral Evil";
- else if (p_ptr->align > -151) return "Evil";
- else return "Chaotic";
-#endif
-}
-
-
-/*
- * Return proficiency level of weapons and misc. skills (except riding)
- */
-int weapon_exp_level(int weapon_exp)
-{
- if (weapon_exp < WEAPON_EXP_BEGINNER) return EXP_LEVEL_UNSKILLED;
- else if (weapon_exp < WEAPON_EXP_SKILLED) return EXP_LEVEL_BEGINNER;
- else if (weapon_exp < WEAPON_EXP_EXPERT) return EXP_LEVEL_SKILLED;
- else if (weapon_exp < WEAPON_EXP_MASTER) return EXP_LEVEL_EXPERT;
- else return EXP_LEVEL_MASTER;
-}
-
-
-/*
- * Return proficiency level of riding
- */
-int riding_exp_level(int riding_exp)
-{
- if (riding_exp < RIDING_EXP_BEGINNER) return EXP_LEVEL_UNSKILLED;
- else if (riding_exp < RIDING_EXP_SKILLED) return EXP_LEVEL_BEGINNER;
- else if (riding_exp < RIDING_EXP_EXPERT) return EXP_LEVEL_SKILLED;
- else if (riding_exp < RIDING_EXP_MASTER) return EXP_LEVEL_EXPERT;
- else return EXP_LEVEL_MASTER;
-}
-
-
-/*
- * Return proficiency level of spells
- */
-int spell_exp_level(int spell_exp)
-{
- if (spell_exp < SPELL_EXP_BEGINNER) return EXP_LEVEL_UNSKILLED;
- else if (spell_exp < SPELL_EXP_SKILLED) return EXP_LEVEL_BEGINNER;
- else if (spell_exp < SPELL_EXP_EXPERT) return EXP_LEVEL_SKILLED;
- else if (spell_exp < SPELL_EXP_MASTER) return EXP_LEVEL_EXPERT;
- else return EXP_LEVEL_MASTER;
-}
-