View Single Post
  #9  
07-29-2007, 07:10 PM
SligStorm's Avatar
SligStorm
Super Stingbee
 
: Jul 2005
: United Kingdom,Wales
: 462
Rep Power: 20
SligStorm  (24)

:
disassembled the game EXE, the code for it is below:

00450126 . BF 08ED4C00 MOV EDI,abeWin.004CED08 ; ASCII "-it_is_me_your_father"
0045012B . B9 16000000 MOV ECX,16
00450130 . 33D2 XOR EDX,EDX
00450132 . F3:A6 REPE CMPS BYTE PTR ES:[EDI],BYTE PTR DS:>
00450134 . 75 2E JNZ SHORT abeWin.00450164
00450136 . E8 F5E40300 CALL
0045013B . 6A 10 PUSH 10 ; check key 0x10 / VK_SHIFT
0045013D . E8 8EE40300 CALL
00450142 . 83C4 04 ADD ESP,4
00450145 . 84C0 TEST AL,AL
00450147 . 74 1B JE SHORT abeWin.00450164 ; skip if key isnt held
00450149 . 6A 02 PUSH 2
0045014B . C605 F88B5000 >MOV BYTE PTR DS:[508BF8],1
00450152 . E8 A9D70300 CALL
00450157 . 83C4 04 ADD ESP,4
0045015A . 6A 02 PUSH 2
0045015C . E8 AF970400 CALL
Nice. so you only just thought of disassembling the exe? once you did that its stated quite obviusly that you have to press shift. so it was nice and easy to figure.
__________________
Working with 3D and Animation.
***** Oddworld Fan Game Maker *****

Reply With Quote