|
@@ -14,6 +14,10 @@
|
14
|
14
|
.equ PLAYER, 0xFF
|
15
|
15
|
.equ CAMERA, 0x7F
|
16
|
16
|
|
|
17
|
+@@Some Gender
|
|
18
|
+.equ GENDER_MALE, 0x0
|
|
19
|
+.equ GENDER_FEMALE, 0x1
|
|
20
|
+
|
17
|
21
|
@@ Costum Specials
|
18
|
22
|
.equ SP_BATCHMAPTILE, 0x7
|
19
|
23
|
|
|
@@ -85,12 +89,31 @@
|
85
|
89
|
.equ EMOT_SCHOCKIERT, 0x7
|
86
|
90
|
.equ EMOT_BOESESLACHEN, 0x8
|
87
|
91
|
.equ EMOT_GENERVT, 0x9
|
88
|
|
-.equ EMOT_ERFREUT, 0xa
|
89
|
92
|
|
90
|
93
|
@@@@@@@@@@@@@@@@@ Macro
|
91
|
94
|
|
92
|
95
|
@@ Custom commands
|
93
|
96
|
|
|
97
|
+.macro callifvar callifvar_var:req callifvar_value:req callifvar_operands:req callifvar_pointer:req
|
|
98
|
+compare \callifvar_var \callifvar_value
|
|
99
|
+callif \callifvar_operands \callifvar_pointer
|
|
100
|
+.endm
|
|
101
|
+
|
|
102
|
+.macro gotoifvar gotoifvar_var:req gotoifvar_value:req gotoifvar_operands:req gotoifvar_pointer:req
|
|
103
|
+compare \gotoifvar_var \gotoifvar_value
|
|
104
|
+gotoif \gotoifvar_operands \gotoifvar_pointer
|
|
105
|
+.endm
|
|
106
|
+
|
|
107
|
+.macro callifflag callifflag_flag:req callifflag_operands:req callifflag_pointer:req
|
|
108
|
+checkflag \callifflag_flag
|
|
109
|
+callif \callifflag_operands \callifflag_pointer
|
|
110
|
+.endm
|
|
111
|
+
|
|
112
|
+.macro gotoifflag gotoifflag_flag:req gotoifflag_operands:req gotoifflag_pointer:req
|
|
113
|
+checkflag \gotoifflag_flag
|
|
114
|
+gotoif \gotoifflag_operands \gotoifflag_pointer
|
|
115
|
+.endm
|
|
116
|
+
|
94
|
117
|
.macro camerafreeze
|
95
|
118
|
special 0x113
|
96
|
119
|
.endm
|
|
@@ -263,7 +286,15 @@ setvar 0x8000 0x0
|
263
|
286
|
call scr_mugrival_right
|
264
|
287
|
.endif
|
265
|
288
|
.endif
|
266
|
|
-.if \mugmsg_sprite!=MUG_RIVALE
|
|
289
|
+.if \mugmsg_sprite==MUG_PLAYER
|
|
290
|
+ .if \mugmsg_facing==MUGFACE_LEFT
|
|
291
|
+ call scr_mugrival_player_left
|
|
292
|
+ .endif
|
|
293
|
+ .if \mugmsg_facing==MUGFACE_RIGHT
|
|
294
|
+ call scr_mugrival_player_right
|
|
295
|
+ .endif
|
|
296
|
+.endif
|
|
297
|
+.if \mugmsg_sprite!=MUG_RIVALE&&\mugmsg_sprite!=MUG_PLAYER
|
267
|
298
|
.if \mugmsg_facing==MUGFACE_LEFT
|
268
|
299
|
setvar MUGHSOT_1_TABLE \mugmsg_sprite|0x8000
|
269
|
300
|
setvar MUGSHOT_1_X 0x16
|
|
@@ -275,6 +306,7 @@ setvar 0x8000 0x0
|
275
|
306
|
setvar MUGSHOT_1_Y 0x60
|
276
|
307
|
.endif
|
277
|
308
|
.endif
|
|
309
|
+
|
278
|
310
|
addvar MUGHSOT_1_TABLE \mugmsg_emot
|
279
|
311
|
.if \mugmsg_callstd==5
|
280
|
312
|
msgbox \mugmsg_textpointer \mugmsg_callstd
|