Ticket #1977: trans.txt

File trans.txt, 4.5 KB (added by Kirben, 19 years ago)

Hard coded strings

Line 
1Faint_light: ; CODE XREF: getTranslatedString+59j
2 push offset aFaintLight ; "faint light"
3 push edi
4 call strcmp
5 add esp, 8
6 test eax, eax
7 jnz short glowing_crystal
8 mov edi, offset aNew_7FaintLigh ; "/NEW.7/faint light"
9
10glowing_crystal: ; CODE XREF: getTranslatedString+7Aj
11 push offset aGlowingCrystal ; "glowing crystal"
12 push edi
13 call strcmp
14 add esp, 8
15 test eax, eax
16 jnz short glowing_crystals
17 mov edi, offset aNew_8GlowingCr ; "/NEW.8/glowing crystal"
18
19glowing_crystals: ; CODE XREF: getTranslatedString+91j
20 push offset aGlowingCryst_0 ; "glowing crystals"
21 push edi
22 call strcmp
23 add esp, 8
24 test eax, eax
25 jnz short pit
26 mov edi, offset aNew_9GlowingCr ; "/NEW.9/glowing crystals"
27
28pit: ; CODE XREF: getTranslatedString+A8j
29 push offset aPit ; "pit"
30 push edi
31 call strcmp
32 add esp, 8
33 test eax, eax
34 jnz short You_wish_
35 mov edi, offset aNew_10Pit ; "/NEW.10/pit"
36
37You_wish_: ; CODE XREF: getTranslatedString+BFj
38 push offset aYouWish_ ; "You wish."
39 push edi
40 call strcmp
41 add esp, 8
42 test eax, eax
43 jnz short In_your_dreams
44 mov edi, offset aNew_11YouWish_ ; "/NEW.11/You wish."
45
46In_your_dreams: ; CODE XREF: getTranslatedString+D6j
47 push offset aInYourDreams_ ; "In your dreams."
48 push edi
49 call strcmp
50 add esp, 8
51 test eax, eax
52 jnz short left
53 mov edi, offset aNew_12InYourDr ; "/NEW.12/In your dreams"
54
55left: ; CODE XREF: getTranslatedString+EDj
56 push offset aLeft ; "left"
57 push edi
58 call strcmp
59 add esp, 8
60 test eax, eax
61 jnz short rigth
62 mov edi, offset aCathplat_68Lef ; "/CATHPLAT.68/left"
63
64rigth: ; CODE XREF: getTranslatedString+104j
65 push offset aRight ; "right"
66 push edi
67 call strcmp
68 add esp, 8
69 test eax, eax
70 jnz short top
71 mov edi, offset aCathplat_70Rig ; "/CATHPLAT.70/right"
72
73top: ; CODE XREF: getTranslatedString+11Bj
74 push (offset aStop+1)
75 push edi
76 call strcmp
77 add esp, 8
78 test eax, eax
79 jnz short Exit
80 mov edi, offset aCathplat_67Top ; "/CATHPLAT.67/top"
81
82Exit: ; CODE XREF: getTranslatedString+132j
83 push offset aExit ; "exit"
84 push edi
85 call strcmp
86 add esp, 8
87 test eax, eax
88 jnz short Unattached_lens
89 mov edi, offset aSky_8Exit ; "/SKY.8/exit"
90
91Unattached_lens: ; CODE XREF: getTranslatedString+149j
92 push offset aUnattachedLens ; "unattached lens"
93 push edi
94 call strcmp
95 add esp, 8
96 test eax, eax
97 jnz short Lens_slot
98 mov edi, offset aNew_13Unattach ; "/NEW.13/unattached lens"
99
100Lens_slot: ; CODE XREF: getTranslatedString+160j
101 push offset aLensSlot ; "lens slot"
102 push edi
103 call strcmp
104 add esp, 8
105 test eax, eax
106 jnz short loc_1EB4E
107 mov edi, offset aNew_14LensSlot ; "/NEW.14/lens slot"
108
109