Dialog fixes.

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1747 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
meep-eep
2005-05-14 14:39:33 +00:00
parent 38a5e49be5
commit 07d40478a1
5 changed files with 27 additions and 15 deletions
+10 -1
View File
@@ -19,6 +19,7 @@
#include "comm/commall.h"
#include "comm/slyland/resinst.h"
#include "comm/slyland/strings.h"
#include "options.h"
#include "battle.h"
#include "setup.h"
@@ -259,6 +260,13 @@ CombatIsInevitable (RESPONSE_REF R)
else if (PLAYER_SAID (R, we_are_us))
{
NumVisits = GET_GAME_STATE (SLYLANDRO_PROBE_ID);
if (NumVisits == 3 && !optSubtitles)
{
/* If playing without subtitles, don't use the
* last item in the conversation tree, which mentions
* coordinates which can't be spoken. */
NumVisits--;
}
switch (NumVisits++)
{
case 0:
@@ -273,8 +281,9 @@ CombatIsInevitable (RESPONSE_REF R)
case 3:
{
NPCPhrase (THIS_IS_PROBE_40);
NPCPhrase (GLOBAL_PLAYER_LOCATION);
NPCPhrase (THIS_IS_PROBE_41);
NPCPhrase (GLOBAL_PLAYER_LOCATION);
NPCPhrase (THIS_IS_PROBE_42);
--NumVisits;
break;
+1
View File
@@ -55,6 +55,7 @@ enum
THIS_IS_PROBE_3,
THIS_IS_PROBE_40,
THIS_IS_PROBE_41,
THIS_IS_PROBE_42,
why_attack_1,
why_attack_2,
why_attack_3,