mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-11-04 05:05:13 +00:00
tfv: hookup magic sprites, fix bolt
This commit is contained in:
parent
2f69a768d5
commit
d2e6fd9367
@ -683,6 +683,16 @@ static void magic_attack(int which) {
|
|||||||
mx=2;
|
mx=2;
|
||||||
my=20;
|
my=20;
|
||||||
}
|
}
|
||||||
|
if (which==MENU_MAGIC_BOLT) {
|
||||||
|
sprite=magic_bolt;
|
||||||
|
mx=2;
|
||||||
|
my=20;
|
||||||
|
}
|
||||||
|
if (which==MENU_MAGIC_MALAISE) {
|
||||||
|
sprite=magic_malaise;
|
||||||
|
mx=2;
|
||||||
|
my=20;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// FIXME: damage based on weakness of enemy
|
// FIXME: damage based on weakness of enemy
|
||||||
|
@ -530,11 +530,11 @@ unsigned char magic_ice[]={
|
|||||||
unsigned char magic_bolt[]={
|
unsigned char magic_bolt[]={
|
||||||
0x5,0x6,
|
0x5,0x6,
|
||||||
0x55,0x55,0x55,0x55,0x55,
|
0x55,0x55,0x55,0x55,0x55,
|
||||||
0x00,0x00,0xc0,0x0c,0x00,
|
0x05,0x05,0xd5,0x05,0x05,
|
||||||
0x00,0x00,0x0c,0xc0,0x00,
|
0x00,0x00,0x0d,0xd0,0x00,
|
||||||
0x00,0x00,0x0c,0xc0,0x00,
|
0x00,0xd0,0x0d,0xd0,0x00,
|
||||||
0xc0,0xc0,0x00,0xcc,0x00,
|
0xd0,0x0d,0x00,0x0d,0xd0,
|
||||||
0x09,0x0c,0x00,0x09,0x00,
|
0x0d,0x00,0x00,0x00,0x0d,
|
||||||
};
|
};
|
||||||
|
|
||||||
unsigned char magic_malaise[]={
|
unsigned char magic_malaise[]={
|
||||||
|
Loading…
Reference in New Issue
Block a user