#include "spellstips.h"
-cptr spell_categoly_name(int tval)
+cptr spell_category_name(int tval)
{
switch (tval)
{
#endif /* ALLOW_REPEAT -- TNB */
- p = spell_categoly_name(mp_ptr->spell_book);
+ p = spell_category_name(mp_ptr->spell_book);
/* Extract spells */
for (spell = 0; spell < 32; spell++)
/* Spells of realm2 will have an increment of +32 */
int spell = -1;
- cptr p = spell_categoly_name(mp_ptr->spell_book);
+ cptr p = spell_category_name(mp_ptr->spell_book);
object_type *o_ptr;
set_action(ACTION_NONE);
}
- p = spell_categoly_name(mp_ptr->spell_book);
-
#ifdef JP
if( p_ptr->new_spells < 10 ){
msg_format("¤¢¤È %d ¤Ä¤Î%s¤ò³Ø¤Ù¤ë¡£", p_ptr->new_spells, p);
if (old_exp >= max_exp)
{
#ifdef JP
- msg_format("¤½¤Î%s¤Ï´°Á´¤Ë»È¤¤¤³¤Ê¤»¤ë¤Î¤Ç³Ø¤ÖɬÍפϤʤ¤¡£", spell_categoly_name(mp_ptr->spell_book));
+ msg_format("¤½¤Î%s¤Ï´°Á´¤Ë»È¤¤¤³¤Ê¤»¤ë¤Î¤Ç³Ø¤ÖɬÍפϤʤ¤¡£", p);
#else
- msg_format("You don't need to study this %s anymore.", spell_categoly_name(mp_ptr->spell_book));
+ msg_format("You don't need to study this %s anymore.", p);
#endif
return;
}
#ifdef JP
- if (!get_check(format("%s¤Î%s¤ò¤µ¤é¤Ë³Ø¤Ó¤Þ¤¹¡£¤è¤í¤·¤¤¤Ç¤¹¤«¡©", name, spell_categoly_name(mp_ptr->spell_book))))
+ if (!get_check(format("%s¤Î%s¤ò¤µ¤é¤Ë³Ø¤Ó¤Þ¤¹¡£¤è¤í¤·¤¤¤Ç¤¹¤«¡©", name, p)))
#else
- if (!get_check(format("You will study a %s of %s again. Are you sure? ", spell_categoly_name(mp_ptr->spell_book), name)))
+ if (!get_check(format("You will study a %s of %s again. Are you sure? ", p, name)))
#endif
{
return;
return;
}
- prayer = spell_categoly_name(mp_ptr->spell_book);
+ prayer = spell_category_name(mp_ptr->spell_book);
/* Restrict choices to spell books */
item_tester_tval = mp_ptr->spell_book;
extern void do_cmd_time(void);
/* cmd5.c */
-extern cptr spell_categoly_name(int tval);
+extern cptr spell_category_name(int tval);
extern void do_cmd_browse(void);
extern void do_cmd_study(void);
extern void stop_singing(void);