diff options
author | Haru <haru@dotalux.com> | 2013-11-07 19:47:47 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2013-11-07 19:50:05 +0100 |
commit | 9f32aa958f86a228290c43544c8b9bbf3f1c2cc0 (patch) | |
tree | d757638ca65a475dbb05d0aec0b45e150072c494 /npc/re/quests/quests_mora.txt | |
parent | 75bbfdd137c0347155ad469d1c46f7f0a36a2579 (diff) | |
download | hercules-9f32aa958f86a228290c43544c8b9bbf3f1c2cc0.tar.gz hercules-9f32aa958f86a228290c43544c8b9bbf3f1c2cc0.tar.bz2 hercules-9f32aa958f86a228290c43544c8b9bbf3f1c2cc0.tar.xz hercules-9f32aa958f86a228290c43544c8b9bbf3f1c2cc0.zip |
Extended script constants to support NPC sprite IDs
- Added support for constants whose name begins with a number.
- Follow-up to 124ab2a1cdb344f24170a4d91f7000ebabf39b40.
- Replaced calls to setnpcdisplay with hardcoded numeric IDs to
constants.
- Thanks to Yommy.
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/re/quests/quests_mora.txt')
-rw-r--r-- | npc/re/quests/quests_mora.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/re/quests/quests_mora.txt b/npc/re/quests/quests_mora.txt index 9acebd207..1d7e9bbd0 100644 --- a/npc/re/quests/quests_mora.txt +++ b/npc/re/quests/quests_mora.txt @@ -2461,14 +2461,14 @@ bif_fild01,132,338,3 script Lope#pa 4_M_FAIRYSOLDIER2,2,2,{ } end; OnEnable: - setnpcdisplay "Lope#pa",999; + setnpcdisplay "Lope#pa", 4_M_MUT1; end; OnDisable: disablenpc "Lope#pa"; initnpctimer; end; OnReset: - setnpcdisplay "Lope#pa",461; + setnpcdisplay "Lope#pa", 4_M_FAIRYSOLDIER2; enablenpc "Lope#pa"; end; OnTimer2000: |