tfv: hookup magic sprites, fix bolt

This commit is contained in:
Vince Weaver 2018-07-09 00:15:57 -04:00
parent 2f69a768d5
commit d2e6fd9367
2 changed files with 15 additions and 5 deletions

View File

@ -683,6 +683,16 @@ static void magic_attack(int which) {
mx=2;
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

View File

@ -530,11 +530,11 @@ unsigned char magic_ice[]={
unsigned char magic_bolt[]={
0x5,0x6,
0x55,0x55,0x55,0x55,0x55,
0x00,0x00,0xc0,0x0c,0x00,
0x00,0x00,0x0c,0xc0,0x00,
0x00,0x00,0x0c,0xc0,0x00,
0xc0,0xc0,0x00,0xcc,0x00,
0x09,0x0c,0x00,0x09,0x00,
0x05,0x05,0xd5,0x05,0x05,
0x00,0x00,0x0d,0xd0,0x00,
0x00,0xd0,0x0d,0xd0,0x00,
0xd0,0x0d,0x00,0x0d,0xd0,
0x0d,0x00,0x00,0x00,0x0d,
};
unsigned char magic_malaise[]={