Search found 125 matches

by Weber G
Sun Dec 20, 2020 1:37 pm
Forum: Developer's Heaven
Topic: CBM64 Bard's Tale 1 Disassembly
Replies: 154
Views: 133380

Re: CBM64 Bard's Tale 1 Disassembly

Correct. It's the value in hex. The initiative for Bard's Tale I (C64) in short (decimal): The value for each combatant is 1-255. The higher the better (strikes earlier in the combat phase). Characters: = won combats (0-765=>0;767-1278=>1;1279-1790=>2;1791-2302=>3;...) + dexterity (15=>+8;16=>+16;17...
by Weber G
Wed Dec 16, 2020 1:23 pm
Forum: Developer's Heaven
Topic: CBM64 Bard's Tale 1 Disassembly
Replies: 154
Views: 133380

Re: CBM64 Bard's Tale 1 Disassembly

The initiative (or who strikes first) calculation for Bard's Tale I (C64): ;character initiative ### .C:5421 A9 01 LDA #$01 ;start with 1st character .C:5423 85 0D STA $0D ;store character no. in $0D .C:5425 A5 0D LDA $0D ;load character no. in A .C:5427 0A ASL A ;double A by moving bit positions to...
by Weber G
Wed Dec 16, 2020 11:29 am
Forum: Developer's Heaven
Topic: CBM64 Bard's Tale 1 Disassembly
Replies: 154
Views: 133380

Re: CBM64 Bard's Tale 1 Disassembly

Only the parts I'm interested in => the melee attacks (including monster- and item tables).

I was always a bit frustrated with the high (or low) monster ACs. But now I know how to hit them :D
by Weber G
Wed Dec 16, 2020 9:10 am
Forum: Developer's Heaven
Topic: CBM64 Bard's Tale 1 Disassembly
Replies: 154
Views: 133380

Re: CBM64 Bard's Tale 1 Disassembly

And here is the code of the monster 'chance to hit' from the C64 (Bard's Tale I): .C:5a92 A9 00 LDA #$00 ;not needed for hit detection .C:5a94 85 C8 STA $C8 ;not needed for hit detection .C:5a96 A5 44 LDA $44 ;load no. of character which is attacked in A .C:5a98 0A ASL A ;double it due to 2 byte add...
by Weber G
Tue Dec 15, 2020 10:49 am
Forum: Developer's Heaven
Topic: CBM64 Bard's Tale 1 Disassembly
Replies: 154
Views: 133380

Re: CBM64 Bard's Tale 1 Disassembly

No posts here the last 3 years, so I want to open again this topic. It's because I woundering why the 'character change to hit' sould be a comparison of the armor classes. I already disassembled, or better investigated, this part of the code in the 80s. But since my notices were lost :roll: over the...