-
Notifications
You must be signed in to change notification settings - Fork 11
/
MKBRIEF.C
150 lines (110 loc) · 2.91 KB
/
MKBRIEF.C
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
/******************************************************************************
File: mkbrief.c
Date: August 1994
(C) Williams Entertainment
Mortal Kombat III Briefcase Setup
******************************************************************************/
/* INCLUDES */
#include "system.h"
#ifdef SONY_PSX
#include "mksony.h"
#endif /* SONY_PSX */
#include "mkbkgd.h"
#include "mkobj.h"
#include "mkos.h"
#include "mkgame.h"
#include "mkutil.h"
#include "mkani.h"
#include "mkbrief.h"
BCC brief_case_codes[]=
{
{0x100100,bc_throwing_disabled},
{0x222222,bc_blocking_disabled},
{0x888000,bc_p1_handicap},
{0x000888,bc_p2_handicap},
{0x333333,bc_dark_fighting},
{0x444444,bc_switcheroo},
{0x987666,bc_jackbot},
{0,NULL}
};
/******************************************************************************
Function: void bc_p1_handicap(void)
By: David Schwartz
Date: Mar 1995
Parameters: None
Returns: None
Description: setup p1 for handicap
******************************************************************************/
void bc_p1_handicap(void)
{
stuff_round_123(3);
return;
}
/******************************************************************************
Function: void bc_p2_handicap(void)
By: David Schwartz
Date: Mar 1995
Parameters: None
Returns: None
Description: setup p2 for handicap
******************************************************************************/
void bc_p2_handicap(void)
{
stuff_round_123(4);
return;
}
/******************************************************************************
Function: void bc_throwing_disabled(void)
By: David Schwartz
Date: Mar 1995
Parameters: None
Returns: None
Description: no throwing allowed
******************************************************************************/
void bc_throwing_disabled(void)
{
stuff_round_123(1);
return;
}
/******************************************************************************
Function: void bc_blocking_disabled(void)
By: David Schwartz
Date: Mar 1995
Parameters: None
Returns: None
Description: no blocking allowed
******************************************************************************/
void bc_blocking_disabled(void)
{
stuff_round_123(2);
return;
}
void bc_jackbot(void)
{
stuff_round_123(7);
return;
}
void bc_switcheroo(void)
{
stuff_round_123(6);
return;
}
void bc_dark_fighting(void)
{
stuff_round_123(5);
return;
}
/******************************************************************************
Function: void stuff_round_123(WORD pa0)
By: David Schwartz
Date: Mar 1995
Parameters: pa0 - setup code
Returns: None
Description: setup for speical codes
******************************************************************************/
void stuff_round_123(WORD pa0)
{
round_1_jsrp=pa0;
round_23_jsrp=pa0;
return;
}