Game Over Teleport Patch

Teleport to a baked-in target map and position when player loses a battle without defined lose-case.

The target-location can be changed in the sourcecode of segment 1 (see commented lines).

Originally made and first released by Cherry.

RPG2000
1.00UNKNOWN2000-05-072000-06-192000-07-112000-11-132000-11-152000-12-27
1.07
2001-05-05
1.10
2003-03-27
1.50
2003-06-25
1.51/1.52
2015-07-05
1.60
2015-09-15
1.61
2017-09-14
1.62

Segment 1/2

Offsets

RPG2000
2000-12-27
1.07
0046DCB0h
0006D0B0h

Sourcecode

__0046DCB0h:
			MOV EAX, [0049AD6Ch]
			MOV EAX, [EAX]
			MOV DL, 01h
			CALL PROC__00491870h
			MOV EAX, [0049AA48h]
			MOV EAX, [EAX]
			MOV EAX, [EAX+34h]
			MOV DWORD PTR [EAX+0Ch], 1
			MOV EAX, [0049AB50h]
			MOV EAX, [EAX]
			MOV BYTE PTR [EAX+0Ch], 1
			MOV EDX, 2			; Map
			MOV ECX, 0			; X
			PUSH 0				; Y
			CALL PROC__0047C49Ch
			MOV EAX, [0049ABA4h]
			MOV EAX, [EAX]
			MOV BYTE PTR [EAX+04h], 0
			RET

Bytes

A16CAD4900 8B00 B201 E8B23B0200
A148AA4900 8B00 8B4034 C7400C01000000
A150AB4900 8B00 C6400C01 BA02000000 B900000000 6800000000 E8AEE70000
A1A4AB4900 8B00 C6400400 C3

Segment 2/2

Offsets

RPG2000
2000-12-27
1.07
0046DD74h
0006D174h

Sourcecode

			JMP __0046DCB0h
			NOP
			NOP

Bytes

E937FFFFFF
90 90